As part of my Installer, I am adding files to an existing COM+ package. I have defined a ComPlusApplication underneath my Product element, which has the name set to a property - I then have a custom action which looks up that property - all good so far.
When the installer adds the files, within the same component I have added a ComPlus...
I am making an installer, which need read a registry key and get a value, then use this value to access another registry then get the INSTALL dir.
Any condition mentioned above will stop the installation if fails.
How to set such conditions that one is dependent on the other?
Thanks.
...
When an install completes successfully, the date and time and some other info needs to be written to the registry. How can a date be generated and how do you know if an install was completed successfully? (writing to the registry with wix is not a problem).
...
I'm wirintg an installer using WIX and I need to execute a custom action when a user press the "cancel" button.
I've created a custom action but I don't seem to find where to use that action.
Any ideas how can I do that?
...
I need to create a bootstrap for my WiX project I've tried using setupbld.exe but it will only allow me to create an executable that will show my UI or one that will behave as a silent installer but not both.
I need to be able to run the resulting executable with argument that will tell it wether or not to show the UI during installat...
I am starting to write an installer which will use the SqlScript-element.
That takes a reference to the Binary-table what script to run.
I would like to dynamically generate the script during the installation.
I can see three possibilities:
Somehow to get SqlScript to read it data from a file rather then a Binary entry.
Inject my gen...
I just found a weird behaviour when attempting to extract a string from the Binary-table in the MSI.
I have a file containing "Hello world", the data I get is "???Hello world". (Literary question mark.)
Is this as intended?
Will it always be exactly 3 characters in the beginning?
Regards
Leif
Sample code:
[CustomAction]
public stat...
We have a WiX fragment in a file SomeDialog.wxs that prompts the user for some information. It's referenced in another fragment in InstallerUI.wxs file that controls the dialog order. Of course, Product.wxs is our main file. Works great.
Now I have a second Visual Studio 2008 Wix 3.0 Project for the .MSI of another application and ...
Background:
I would like to extract the COM data from a VB6 application so I can register it correctly (according to Microsoft best practice) the application. I am using WiX 3.0 and heat.exe will not extract the data (known issue with heat) and I do not have ready access to the associated TLB file. The VB6 application does not have c...
What is the purpose of the Source attribute? Have a look at this snippet:
<Component Id="MyComponent" Guid="123456789-abcd-defa-1234-DCEA-01234567890A">
<File Id="myFile" Name="myFile.dll" Source="myFile.dll"/>
</Component>
Since Name and Source have the same value, what does Source add? The code does not compile without it....
I would like to remove the isolated storage folders that are created by a .NET application when using My.Settings etc. The setting files are stored in a location like
C:\Users\%Username%\AppData\Roaming\App\App.exe_Url_r0q1rvlnrqsgjkcosowa0vckbjarici4
As per this question StackOverflow: Removing files when uninstalling Wix I can unin...
How can a silent installer that does not display any UI Dialogs to the user and installs, upgrades and uninstalls with default settings be created in Wix?
...
I'm using Wix version 3.0.5419.0. I have two .wxs files, one which is a fragment, and another which uses the fragment to create the .msi file.
Here is the file which uses the fragment (DaisyFarmer.wxs):
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:iis='http://schemas.mi...
I have a hierarchy of Directory elements in a WiX script.
I also have a component that creates a virtual directory (using IIS:WebVirtualDir), which points to the root of my Directory hierarchy.
How do I change a property (e.g. AnonymousAccess) of a subfolder of the virtual directory, e.g.
MyVirtualDir <<< this is the virtual dir...
I'm trying to create patches using the method from this tutorial. An issue I'm running into is that I can't install a new patch on top of a previous patch.
I can full install Version A,then patch to Version B. After that I can't patch to Version C.
I can full install Version B, then patch to Version C.
Currently we just do full insta...
We have an installer for application that is compiled using WiX and each version is updated using a new setup package. The installer creates advertised shortcut in Start menu and users often copy this shortcut to desktop or other location. During an application update a major upgrade is performed and the old shortcuts are removed, which ...
Hi,
I have created a custom dialog UI, which contains two combobox with SQL server instance & on selection of one of SQLServer instance, another combobox has to be filled with name of Databases on that server instance.
I am able to find filling combo with SQL server Instances
I had written a similar CustomAction to fill the combobox wi...
I have an app that is being installed with WiX 3 - most of the install works fine by now, but trying to get the desktop shortcut to work seems to cost me my mind...
I have my app being installed and I already have a shortcut on the Start Menu folder - works just fine. But how do I get the desktop shortcut up and running?
<Product Id="*...
I wrote a custom action to create a scheduled task after install.
I do not want the Custom Action to run when the user does not want to create the schedule task. During installation even if I select " Feature will be unAvailable" the schtask is getting created. How do i prevent the Custom Action from executing?
...
I have created MSI installers for programs compiled with Visual C++ 2008 Express edition and Wix (Windows Installer Xml) before. I just needed to bring in the merge modules for the C++ runtime redistributables from c:\Program Files\Common Files\Merge Modules*.msm. I expected the procedure would be similar with Visual C++ 2010 Express, ...