[WiX-users] How to check processor architecture

2007-10-03 Thread Hongping Lim
Hi, I have a couple of custom actions that the installer needs to run on the user's machine depending on the machine's processor architecture (x86 or x64). Is there some registry key or some property that I can check? I am looking for something to put within the condition of the Custom element,

[WiX-users] setupbld/setupexe - using both UI and quiet modes

2007-09-19 Thread Hongping Lim
Hi, Does the default setup.exe that comes with setupbld.exe support both UI and quiet installation (/q) modes in the generated .exe? For example, currently, to show the UI embedded in the MSIs, I am using the following command: setupbld.exe -mcs MyPackage1.msi -mcs MyPackage2.msi -setup setup.e

[WiX-users] how to prevent XmlConfig from blocking upon failure

2007-09-12 Thread Hongping Lim
Hi, I am working on a installer uses XmlConfig to modify xml configuration files on the system. When the files are valid, all is fine and the installer works as expected. However, if a file is malformed, or if an expected ElementPath is not found, XmlConfig throws an error, and the whole insta

[WiX-users] using xmlConfig to conditionally set attribute value

2007-08-11 Thread Hongping Lim
Hi, I am trying to add the following actions during install (and the reverse during uninstall) to modify the string value of an attribute conditionally: 1. Check web.config to see if a specific xml node exists (matches attribute class=”ReflectionPermission”). Eg 2. If it doesn't, create it.

[WiX-users] writing and restoring registry key

2007-07-06 Thread Hongping Lim
My installer needs to increment the integer value of an existing registry key on the system, but it also needs to restore the value back upon uninstall. Is there any way to achieve this? Thanks, Hongping - This SF.net email

[WiX-users] timestamp difference between source files and installed files

2007-04-23 Thread Hongping Lim
I am getting some discrepancy between the time stamp of the source files and the actual installed files. So far, it seems to be between 1-2 seconds. For example, if in my wix I have a file source of 1:04:00pm, then after I run the MSI, the installed file becomes 1:04:02pm. This difference appl

[WiX-users] how to detect if another product is installed

2007-04-23 Thread Hongping Lim
Hi, I have a product A that requires another product B to be installed. B by itself does not write to any registry keys, but I have the strings for its Product Id and UpgradeCode. Is there any way for the installer A to detect whether product B is present? Thanks, Hongping

[WiX-users] custom action conditioned on selected features

2007-04-20 Thread Hongping Lim
Hi, I have a custom action that I want to run, but only if the user has selected and installed a specific Feature. Is there an expression or property to use to determine whether a particular Feature has been selected? Thanks, Hongping ---

[WiX-users] reducing file size of msi containing duplicate files

2007-04-20 Thread Hongping Lim
Hi, I am creating a MSI that has two features, each containing one component. The user can install either or both the features. Each component use the same source file which is to be installed to a different location. Although the component use the same source file, it seems the file size of th