Solved

How can I get Installshield to suggest one Destination Folder if target machine is running Vista, and another Destination Folder if target machine is running any other Windows?

Posted on 2008-06-19
1
812 Views
Last Modified: 2013-11-14
How can I get my Installshield MSI script (which generates a setup.exse) to suggest one Destination Folder if target machine is running Vista, and another Destination Folder if target machine is running any other Windows?
0
Comment
Question by:reggieperrin
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 21826799
create 2 custom actions:
1:
property name = INSTALLDIR
property value: <destination if XP>
install ui sequence: after CostFinalize
install ui condition: VersionNT=501

2:
property name = INSTALLDIR
property value: <destination if Vista>
install ui sequence: after CostFinalize
install ui condition: VersionNT>=600

It should also be put into install exec sequence, for the case when the installation runs without user dialog - but be careful not to override the choice already made in user interface sequence - if it was.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now