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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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