cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Snoopstah
Level 7

Value for PRODUCTLINK in INI file

I have enabled FLEXnet in my Installscript MSI project and all settings are correct except one has me baffled.

In my C:\Documents and Settings\All Users\Application Data\Macrovision\FLEXnet Connect\Database\productid.ini file there is a key named PRODUCTLINK.

Can someone please tell how this value is populated?

Presently my ini file shows "ZCEAC27F8FEECB7FFA9AC17DF894C978F7EAC108FFEFC87A8CEACC7DF8E1B47580E2CB78F99AC" but I do not know where this value is coming from.

I need the value to be replaced with "https://update.ourserver.com.au"

How can I change this setting in my installer, other than writing an installscript function to edit the ini file with WriteProfString()?
0 Kudos
(3) Replies
Not applicable

PRODUCTLINK is a hash of two codes ( Lock and Signature ) that's designed to allow you to secure your product against hijacking by a potentially malicious user.

You should not use this field for custom values or put a host name in it. It sounds like you are attempting to populate the host field. If that's the case then you should update the DWUSHOST property in the installer.
0 Kudos
Snoopstah
Level 7

Thanks for the response. I really feel like I'm flying blind here.

I have already got my DWUSHOST value set to "https://update.ourserver.com.au".

We are not actually publishing our updates on the FLEXnet server, but rather on our own server. We use our own custom "update" application rather than the "Software Update" utility that FLEXnet provides. Would this make a difference?

The developers have told me to edit the PRODUCTLINK value to the above mentioned URL to make the udpates work. Admittedly, if we manually change this value to the URL post installation, everything works. If we remove the value or leave it as the combined code hash, our update software is not working.

I really have little idea what any of this means. It's all very new to me.
0 Kudos
ugar_k
Level 4

Snoopstah wrote:
Thanks for the response. I really feel like I'm flying blind here.

I have already got my DWUSHOST value set to "https://update.ourserver.com.au".

We are not actually publishing our updates on the FLEXnet server, but rather on our own server. We use our own custom "update" application rather than the "Software Update" utility that FLEXnet provides. Would this make a difference?

The developers have told me to edit the PRODUCTLINK value to the above mentioned URL to make the udpates work. Admittedly, if we manually change this value to the URL post installation, everything works. If we remove the value or leave it as the combined code hash, our update software is not working.

I really have little idea what any of this means. It's all very new to me.


Hi Alison,

I'm not sure if you've already solved you're problem or not, but as Bryan has said, the PRODUCTLINK is a hash of lock and signature. i.e. It's encrypted so users of your software can't go into the INI file, see your URL and try to hack your server.

The Product Lock and Signature are not required fields, they are specified in MSI Project, just as your Product Code is specified. Just clear the fields for Lock and Signature, and your URL should no longer be encrypted.

If you want to use the security of a hashed/encrypted URL, you need to specify the Product Lock and Signature from your MSI Project in the Product entry on your FLEXnet server ( https://update.ourserver.com.au ), the same page where you specify the Product Code of your Product entry in the server. This way, the server will authenticate that the request is coming from your software and not from someone who discovered your server URL and is trying to hack it.
0 Kudos