Is .msi name available in properties? - Advanced Installer Community
stevericketts
Posts: 10
Joined: Sun Feb 12, 2006 2:50 pm

Is .msi name available in properties?

I have one install program that will be downloaded by a large number of different organizations from our web site. I'd like to be able to use one .msi for all but I need to know the organization id during the install. I need to keep this as simple as possible for the user so I'm looking for something that's just one click and run.

I was thinking that I could just copy the .msi to another file and append the organization ID. If I could read the .msi's name during install, I'd know what organization. Or is there a better way of doign this.
stevericketts
Posts: 10
Joined: Sun Feb 12, 2006 2:50 pm

Re: Is .msi name available in properties?

Found the answer. The .msi's name is in OriginalDatabase property.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Is .msi name available in properties?

Hello,

If you want you can create multiple builds (one for each of your organizations) in "Media" page. Then, you should go to "Install Parameters" page and add an ID_PROP property with values specific per build. Finally, you can add the ID_PROP property in the "MSI Name" field from "Media -> Configuration" tab of each of your builds. Also, at install time you can use the ID_PROP property in order to identify the organization installing the package.

Let us know if this helped, otherwise please give us more details about what you are trying to achieve (maybe exemplify)?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”