hii Dave,

   As you said u are looking for a way to create a boostrapper that checks
if the prerequisiites exist, installs any that are missing, and then
launches my setup.exe and gets out of the way.

   You can achieve this by searching the values that let you know about the
prerequisiites are installed or not.

For example, you can search for Registry Key to know if .Net Framework is
installed or not. You can store the result of this search to a Variable
which will create your installing condition.

depending on this conditions you can either download or install
prerequisiites and proceed with your installer.

Sample code-

to check whether .Net framework is installed or not -

<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework
Setup\NDP\v3.5" Value="SP" Variable="NetFx35" />
<util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\NET Framework
Setup\NDP\v3.5" Value="SP" Variable="Netfx35x64" Win64="yes" />

Variable NetFx35 will set to 1 if .Net is installed. Now use this variable
to set your condition.


Cheers...



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-a-Bundle-for-Prerequisites-tp7579041p7579176.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to