I have a 64-bit MSI that I build with WiX. There is a bootstrapper that 
launches the MSI. It passes a couple of parameters along to control the 
install. 

I'm finding, running on 64-bit Windows 7, that MSI is changing the value of 
INSTALLLOCATION unexpectedly. 
I explicitly pass in 
    "C:\Program Files\FooCompany\BarProduct" 
and MSI changes it to 
    "C:\Program Files (x86)\FooCompany\BarProduct"

i.e. It's treating it as if it's a 32-bit install instead of a 64-bit install. 

Here are portions portion of the log file. 

You can see the command-line parameters here: 


MSI (s) (80:20) [10:56:08:551]: Command Line: INSTALLLOCATION=C:\Program 
Files\FooCompany\BarProduct 
ADDLOCAL=feaInstrumentControl,feaWidgetEvaluator,fea64Bit REBOOTPROMPT=S 
CURRENTDIRECTORY=C:\Users\rnd\Desktop\install-test CLIENTUILEVEL=2 
CLIENTPROCESSID=2388 


You can see where MSI logs that it's changing the INSTALLLOCATION property. 


Action start 10:56:12: CostFinalize.
MSI (s) (80:20) [10:56:12:879]: PROPERTY CHANGE: Adding OutOfDiskSpace 
property. Its value is '0'.
MSI (s) (80:20) [10:56:12:879]: PROPERTY CHANGE: Adding OutOfNoRbDiskSpace 
property. Its value is '0'.
MSI (s) (80:20) [10:56:12:895]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceAvailable property. Its value is '0'.
MSI (s) (80:20) [10:56:12:895]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceRequired property. Its value is '0'.
MSI (s) (80:20) [10:56:12:895]: PROPERTY CHANGE: Adding 
PrimaryVolumeSpaceRemaining property. Its value is '0'.
MSI (s) (80:20) [10:56:12:895]: Note: 1: 2205 2:  3: Patch 
MSI (s) (80:20) [10:56:12:895]: Note: 1: 2205 2:  3: Condition 
MSI (s) (80:20) [10:56:12:895]: PROPERTY CHANGE: Adding TARGETDIR property. Its 
value is 'C:\'.
MSI (s) (80:20) [10:56:12:895]: PROPERTY CHANGE: Adding dirFooCompany property. 
Its value is 'C:\Program Files (x86)\FooCompany\'.
MSI (s) (80:20) [10:56:12:895]: WIN64DUALFOLDERS: 'C:\Program Files (x86)\' 
will substitute 17 characters in 'C:\Program Files\FooCompany\BarProduct\' 
folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0).
MSI (s) (80:20) [10:56:12:895]: PROPERTY CHANGE: Modifying INSTALLLOCATION 
property. Its current value is 'C:\Program Files\FooCompany\BarProduct'. Its 
new value: 'C:\Program Files (x86)\FooCompany\BarProduct\'.



How do I make MSI not change INSTALLLOCATION? 

thx



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to