Deleting XML elements in WiX
How do you delete/remove an element from an XML file in WiX? ...
How do you delete/remove an element from an XML file in WiX? ...
I have been working for quite sometime to transfer all of the installations for my job from Wise for Windows Installer to WiX. Started with the obvious step (given the number of installations to transfer and their size) and decompiled them with Dark.exe (WiX toolkit). I have been creating a general purpose program to clean up the outpu...
I have developed a screen for admin username and password,how will I display the username and domain automatically in the place of admin name label.Please help me out.. I would like to know whether I should write any custom action for this. ...
In the property I have given as SERVICEACCOUNT and Password as SERVICEPASSWORD but the domain name does not appear when the screen sequence somes. <Control Height="10" Type="Text" Width="80" X="10" Y="75" Id="AccountLabel" Text="Administrator Login" /> <Control Height="18" Type="Edit" Width="160" X="100" Y="75" Id="AccountTe...
I have a msm which contains COM DLLs. It works well with VisualStudio's setup project. But recently we tried to use Wix to produce our msi file, so the msm is included into the Wix XML file. It works mostly, except on some machines it failed to register COM objects. I tried to use Orca to see what's the difference between VS produced ms...
I have developed a screen that asks the admin username and password.My requirement is that I want the admin user and domain name to be displayed automatically on the screen in the username label.How can i do that please help me.. ...
Hi, I am new to WIX. What I am trying to do: Windows registry maintains entries under Uninstall for my product. Now, when I upgrade to a later version it creates another entry there. So in upgraded version there are two entries under the Uninstall key. Things are fine till now. When I need to downgrade from upgraded version it should r...
I have a WiX installer which has 3 Projects. 2 Creates Merge Moduels, 1 Creates the installer. The code in the mergemodules should only be executed if the corresponding feature is selected. Is there any chance to get this to work with custom actions? From my experience the custom actions are always called - wether or not a certain feat...
AFAIK it's done like this: Product: <Merge Id ="HelpInstaller" SourceFile="HelpInstaller.msm" Language="1033" DiskId="1"> <ConfigurationData Name="SurpressInstallation_Config" Value="&HelpFeature"/> </Merge> Merge Module: <Property Id="SupressInstallation" Value='0' /> <Substitution ...
Is their any chane in wix to determine if a certain directory exits when the installer is running? I guess i have to use some sort of custom action, unfortunatelly i don't know how! Furthermore i want to store the result of the costom action in a property and use this as an condition for calling another custom action. Is this possible? ...
In WiX I have a vbScript for use in a Custom Action that will return ListItems of Network Printers. I want to use these ListItems to populate the ComboBox at Install Time because I won't know the printer names on the users system until after starting the installation. Here is the vbScript. It currently outputs to a text file pending h...
Hi All, Is there a way to display the system ip address and port number in a text box that is generated dynamically??? I want the system to put the ip address into a text box according to the machine. Siddharth ...
This is a bit of a strange problem. I have an installer that needs to check the version of Windows Installer on a machine, so I use the VersionMsi property to do this. However, when trying it out on a Vista 32-bit machine, I have found that it reports that I have 4.05 installed. So I checked msi.dll, msiexec, etc and found that they wer...
HI All, Is it possible to sequence a custom action before "LaunchConditions"? This is my custom Action: <CustomAction Id="CA_vcAppRunning" BinaryKey="vcShowMsg" DllEntry="IsAppRunning" Return="check" Execute="immediate"/> Sequenced in <InstallExecuteSequence/> <Custom Action="CA_vcAppRunning" Before="LaunchConditions" /> I tri...
I have made a dynamic deployment project based on WiX 3.0, that uses mainly HEAT to consume directories in dynamic way (files + DLL that need to be registered). The question is that i don't understand what attribute should i use in heat in term of the COM, Should i use "-SCOM" or not (what does it effect e.g. patching) thanks ...
I'm writing a Wix-based setup for a web application and would like to set permissions on the folders it installs so that IIS can access them. IIS 6 and 7 use IIS_WPG and IIS_USRS respectively, and IIS 5 uses IUSR_COMPUTER NAME. If the user has changed their machine name however, setting permissions using the current computer name fails. ...
Hi, I have a basic WIX custom action: UINT __stdcall MyCustomAction(MSIHANDLE hInstaller) { DWORD dwSize=0; MsiGetProperty(hInstaller, TEXT("MyProperty"), TEXT(""), &dwSize); return ERROR_SUCCESS; } Added to the installer: <CustomAction Id="CustomActionId" FileKey="Cu...
I'm new to WiX. Very new. Is there a way to define both a ComponentGroup and a Directory at the same time? I have a large number of files, on the order of 300 or so total, that need to be split into a number of groups, with each group having somewhere around 50 files. Using heat.exe, I was able to create a Fragment that creates Com...
Hi, How can I populate in to the listbox the values dynamically using Wix.Like when i click add it should add the values in to the listbox.please help.. ...
I have an installation build with WIX 3.0. It currently creates some folders and modifies the folder permissions. However, it will not install on a Spanish OS. That is now a problem since we have to support Spanish OS's. So... I am trying to do this in a way that is localizable. This is what I have changed it to: <CreateFolder Di...