JDMils
Posts: 50
Joined: Tue Aug 10, 2010 12:42 pm

Install package TWO only if package ONE is already installed

I have two setup packages/EXEs.

ONE: Installs a number of Excel workbooks in a custom folder which is chosen by the user. It then sets the folder and filename of one of the XL workbooks in HKLM\Software\[Manufacturer]\[ProductName]\Folder & HKLM\Software\[Manufacturer]\[ProductName]\Filename respectively in the registry.

TWO: Installs a Dot.Net EXE which is opens the one main XL workook from package ONE when required. It reads the registry for the XL workbook's location and filename.

I would like to configure the setup for TWO so that it will only install when ONE is already installed. I suppose the best way is to check the registry key HKLM\Software\[Manufacturer]\[ProductName]\Filename exists and has a predefined value. Is this possible?
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Install package TWO only if package ONE is already insta

Hi,

In order to achieve what you want you can follow the Set launch conditions tutorial for your "TWO" package. You can also search for a registry instead of a file in the Search page.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”