foleym
Posts: 8
Joined: Mon Oct 02, 2006 7:51 pm

How - 2 slightly different aip projects for the same product

Hi,
We are using Advanced Installer 4.2 and have 2 seperate installation builds.
One that has a UI and one invoked from an SFTP site which has no UI.
They both install the same exact files into the same exact place.
We do not seem to be able to create 2 seperate .aip
files to accomplish the seperate builds. It seems to treat the installs
as different products because the aip names are different. This seems as
if it should be quite doable.
Any suggestions?

Thank you,
Mark Foley
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
One that has a UI and one invoked from an SFTP site which has no UI.
If this is the only one difference between those two packages then note that a msi package can be launched with UI (by default) or without UI by using this command line: msiexec /i package.msi /qn (no UI)

Please let me know if this is what you want.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
foleym
Posts: 8
Joined: Mon Oct 02, 2006 7:51 pm

2 installer apps

We generate an exe file that installs our app. I used the Duplicate function and created another project. This one does not provide any UI. Both install exe's correctly install the app into the correct (same) directory. Neither
one seems to detect that the version of the app already installed by the other is the same as the one about to be installed. Going to the control panel Add/Remove programs shows 2 seperate entries for the app. It is not an option for us to run a single installer with a command line option.

We need either install executable to be able to detect that the version it is installing is already installed, regardless of which installer app was used.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Create a registry key in the "Registry" page for both packages. This registry key is used to determine if the package is already installed or not.

Now create for both packages a registry search in the "Search" page and browse for the registry key created above. With the property of this search create a launch condition (you can use the wizard).

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”