Hi! 
I need to save install directory during major upgrade. To do this I change
INSTALLFOLDER property using custom action. 

Action="ChangeInstallFolder" Before="InstallInitialize" 
MajorUpgrade Schedule="afterInstallInitialize" 
Action="Install" Before="ProcessComponents" 

But if I look at the log file: 
Action start 4:30:53: ProcessComponents. 
... 
MSI (s) (FC:6C) [04:30:53:865]: Dir (source): Key: INSTALLFOLDER        , 
Object:
C:\ProgramData\Package Cache\{GUID}v{version}\ , LongSubPath: {DEFAULT
PATH}, ShortSubPath: ...\...\ 

So, property was changed, but directory still has default path. 

Can I change install folder by custom action? 

Regards, Alexey.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Is-there-the-way-to-pass-installed-product-path-to-the-major-upgrade-installer-tp7584634.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to