Hi,

In my setup suite; I have the following files, all living on a network share
:

ClientSetup.exe ( a Wix Bundle )
PreReqs.exe ( a Wix Bundle )
Main.msi ( Wix msi )
MyStuff.ini

When ClientSetup.exe is run - WHAT IT IS SUPPOSED TO DO IS - it calls an
internal msi ( ie compressed into exe ) which in turn calls a VB.NET custom
action which reads the MyStuff.ini file and sticks a couple of entries into
Properties ( reason why I use CA, is because Wix can't read ini files that
aren't in the windows folder ), which the MSI then sticks into a new ini
file under windows eg C:\Windows\MyStuff.ini.

The next package in the ClientSetup.exe chain is the PreReqs.exe ( not
compressed ) - this installs loads of stuff and also adds it's own entries
into C:\Windows\MyStuff.ini ( obviously via another internal msi ).

Then the Main.MSI is run and it READS entries from C:\Windows\MyStuff.ini
and uses them in it's launch conditions.

Now if I was to run each of the packages ( exe & msi ) contained within
ClientSetup.exe manually ( or by commenting the others out ) then they all
work fine; and the windows ini file is created and contains the relevant
entries based on which exe/msi I ran.  

BUT - if I run them all in the above order via the ClientSetup.exe chain (
ie non of them commented out ), then the C:\Windows\MyStuff.ini is not
actually created - by ANY of the packages (?!?!?) and thus the Main.msi
doesn't install, because its launch conditions fail.

Does anyone know why this might happen ?

My WiX suite - is SO close to been finished, but this last issue has really
stumped me !!

Cheers & thanks in advance,

Chris.





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-Burn-Chain-multiple-packages-writing-to-same-ini-file-tp7599148.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to