views:

133

answers:

2

hello, how can i combined the framework and installer in single msi using wix.

reply me soon

Samir

+2  A: 

See following:
http://www.wixwiki.com/index.php?title=Deploying%5FAdditional%5FComponents
http://wix.sourceforge.net/manual-wix3/install%5Fdotnet.htm

Brij
i have already done this but the problem is that its is given me saperate folder of framework and installer.so when i install the msi it find the path where these 2 folders are located.i dont want that.i want to combines these 2 setup into single one
Samir
or can you tell me can i set the link of framework and installer in wix.so whenever client install exe then if framework will not find then framework will automatically download and install it.
Samir
+1  A: 

You cannot actually install your application and the .NET framework from a single MSI. You have to create a bootstrapper to install .NET. However, you could bundle everything in a self-extracting archive that automatically runs the bootstrapper after extraction.

I can't recommend a specific tool because I have not done this myself, but googling self-extracting archive setup.exe gives a numer of leads. Specifically, take a look at this stackoverflow question.

Wim Coenen