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
829 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

738 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