davidsmith
Posts: 59
Joined: Sun Jul 12, 2009 8:33 pm

how to include dynamically generated strings in a prebuilt

I have a download page for my .exe and .msi installers... these files get built by my R&D build server which is not accessible by the web server.

What I want to do is when a customer logs into my site and clicks a download installer link, what I want to do is add one or more customer-specific unique strings to my prebuilt .exe and .msi files.

The goal is that when my product installs, it will them use these embedded strings to uniquely identify itself to my web site. (unique as in being from a specific customer)

Question: Is this possible for the .exe and .msi files?

Question: If so, does anyone have any insight into the most robust way to do this?
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: how to include dynamically generated strings in a prebuilt

Hello,

Your server side script can use the MSI API to embed additional files into the MSI depending on who's installing it.
For details on how to do this, please consult MSDN.
Embedding the desired information however isn't easy and embedding user information is not recommended. The user should provide the information himself, during the install process.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
davidsmith
Posts: 59
Joined: Sun Jul 12, 2009 8:33 pm

Re: how to include dynamically generated strings in a prebuilt

And so I'm assuming then that there is no way to do the same for the .exe installer file? Meaning, dynamically add strings to it when it is downloaded from our web site.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: how to include dynamically generated strings in a prebuilt

I am afraid not.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”