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
815 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
If you don't know how to downgrade, my instructions below should be helpful.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

13 Experts available now in Live!

Get 1:1 Help Now