wix

Recommendations for getting started with WiX?

I found a WiX Tutorial, but it's really long-winded and seems like more than I wanted. What's the best way to get started quickly? My end goal is nothing really complicated: an installer that installs an ISAPI filter. ...

Reference for possible String ID's in WixLocalization?

I am finding WIX to be nearly impenetrable. I want to customize the text in various dialogs in the WixUI_FeatureTree. I've seen Customizing Text in the standard WIX Dialogs, so I get the basic idea that I need a .wxl file, and I need to fill it with <String ...> elements. But what Id's are available? Q1: where is the list of Id...

How can I insert a newline in a localized value for a String in a .wxl file?

I'm using a .wxl file to customize the text in the various dialogs in WixUI_FeatureTree. How can I insert a newline? This doesn't work: <WixLocalization Culture="en-us" xmlns="http://schemas.microsoft.com/wix/2006/localization"&gt; <String Id="WelcomeDlgTitle">{\WixUI_Font_Bigger}Welcome to the Setup Wizard for\r\n[ProductName]</...

WIX Custom Action (Javascript): debugging. Also, can I emit something into the log?

I'm having difficulty figuring out why my Javascript Custom action is failing. I thought I saw a topc in the WIX.chm file on debugging; now I cannot find it. Q1 is there doc on how to debug Javascript or VBScript custom actions? Q2 Is there a way to emit something into the MSI log from a custom action? Addendum: Some people th...

Error 2259 in WiX installation only on WinXP machines

Hi, I have created an WIX installation package and when installed on WinXP an Error 2259 always appears. How do I go about resolving this issue and how come it works on machines running WinVista and Win7? Thanks. ...

In WIX, how to install WebFilter at the server level?

I know how to install a WebFilter into a particular WebSite (or Virtual Server). How can I install a WebFilter into the WebService - or to the top-level server? ...

WIX: How can I register a new ISAPI Extension or Script Map on an existing Web App or Site?

I've seen the WebApplicationExtension element, but because it must be a child of WebApplication, it appears to require the creation of a new WebApplication. I don't want that. I want to create the extension (or script map) on an existing website. On uninstall, the website should remain but the extension (script map entry) should be ...

Wix: How can I set, at runtime, the text to be displayed in VerifyReadyDlg?

After the user goes through the Setup Wizard, and makes a few choices, the usual thing is to display the VerifyReadyDlg to say "Are you ready to install?" The built-in VerifyReadyDlg is static. It does not present a summary of the choices he made previously. I'd like to modify it so that it does. How can I do that? Example "S...

Wix: How can I launch a help file after installation? (WIXUI_EXITDIALOGOPTIONALCHECKBOX)

I know about WIXUI_EXITDIALOGOPTIONALCHECKBOX and WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT. As I understand it, those things can be used to trigger a custom action. The examples I've seen run an EXE, or invoke a custom action in code. How can I run a .CHM file if the checkbox is checked? If I just specify the chm file as the FileKey, a...

Force installer to upgrade a file in the GAC regardless of the version number

I have a WiX installer which needs to install new bits for Interop.FOOBARLib.DLL to the GAC. The problem is that the version number is the same as the old version and the new bits do not get written the GAC on an upgrade. We execute the RemoveExistingProducts action after the InstallFinalize action. We cannot move the RemoveExistingPr...

by using copyfile element files cant not bind into msi package

Hello, i am using wix 3.0.i have a folder name "images".so i want to copy all the files from images into msi package.when i copy all the file and install msi to another PC then it did not bind the images. And when i use simple File Element then the files bind to msi package. so what should i do, Reply me soon Thanking You Sami...

How can I add attributes and elements from a new namepace in Wix and ignored by Wix?

I want to add a unrelated attribute in the Wix wxs file and want Wix to ignore it. It currently throws up following error as it goes looking for the extension. The Component element contains an unhandled extension attribute 'myns:myattr'. Please ensure that the extension for attributes in the 'http://tempuri.org/myschema.xsd' namespac...

Find Vista Language using WIX

I am working on an installer which will be installed on multiple versions of XP/Vista with different languages. In the installer, I need to find out the language of the OS installed. I know how to get the OS version by using "VersionNT" and/or "VersionNT64", is there any similar way to get OS language also? I need to add different regis...

how can i attach the framework in WIX

hello, i want to attach .net framework 2.0 file in wix.how can i?so whenever client want to install the msi then it will install the framework directly.so how can i bind the framework in msi package? reply me soon Thanking You Samir ...

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

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

How to display a non-blocking warning for the operating system in Wix?

I already block installation of our software on operating systems where it is known not to work like this: <Condition Message="This software needs Windows XP or newer."> <![CDATA[VersionNT >= 501]]> </Condition> Now I would also like to display a non-blocking warning if the user tries to install the software on an operating system ...

spaces in my wix source path

hi in my .wxs file the File tag Source attribute, the path has a spaces in it. <File Id="_uploads.UserImport.EDS_UserImport.xls" Name="EDS_UserImport.xls" Source="C:\**Documents and Settings**\kle\Desktop\OspreyMSIGenerator\OspreyMSIGenerator\Published\EDSContainer\uploads\UserImport\EDS_UserImport.xls"></File> i get this error candle...

Ordering the execution of Wix SetProperty actions

I have a sequence of SetProperty actions which rely on each other. Here is a simplified example: <SetProperty Id="A" Before="AppSearch" Value="Hello" /> <SetProperty Id="B" Before="AppSearch" Value="[A] world!" /> Property A needs to be set before property B in this case, so that the value of B becomes "Hello world!". Since wix doe...

Wix Open web page when uninstall completes

Hi, I'm using Wix3. I need to open a web page when the user uninstalls the product. Any ideas how it can be done? Thanks. ...

WiX: Passing Data to managed custom action does not work

Hi everybody, i got a problem regarding wix and managed custom actions: I already managed it to create an managed custom action and got it called from my installer (verified it in the installation log files). My Problem is now that i did't manage it to pass data to the custom action. Afaik if i choose to run the custom action in such a ...