Condition the InstallDirDlg Events with "NOT Installed" & it will only
show during the first install, not upgrades.
See
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
if you need help modifying the stock WiX UI sets.

As long as you use a RegistrySearch to set INSTALLDIR appropriately it
should be fine. If you want to be really slick you could use the
INSTALLDIR property to condition whether to show the InstallDirDlg (if
it's set by the RegistrySearch, don't show InstallDirDlg).

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-----Original Message-----
From: Andy.Kruger [mailto:appr...@gmail.com] 
Sent: 06 May 2010 15:00
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Hide InstallDirDlg during upgrade



I'm trying to hide installation path selection dialog during an upgrade
and install to the previous INSTALLDIR path stored in the registry. But
it always installs to the default path. 

Is it a must to show InstallDirDlg always part of upgrade??

-----
Andy
MSI Developer
Schneider Electric
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Hide-Insta
llDirDlg-during-upgrade-tp5014310p5014310.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to