Re: [WiX-users] adding file to the 3rd party directory

2011-03-07 Thread Rob Hamflett
Use a directory with an Id of 3RDPARTYPROGRAM_PATH. When the property with the same name gets updated so will the directory path. Rob On 04/03/2011 22:10, Mr Dimitri Klyachko wrote: I have a task to add a file to a directory that appears after the 3rd party software has been installed. I

Re: [WiX-users] Custom Actions during/post install and uninstall

2011-03-07 Thread Peter Shirtcliffe
1. Yes. Use conditions in the execute UI sequences to determine if you should execute the action (for example, at uninstall time). 2. If you store custom action dll in the binary table using the Binary element, the custom action is available as long as the installer is running. 3. Custom actions

Re: [WiX-users] Referencing .wxi from .wixlib

2011-03-07 Thread Rob Mensching
Include fies (.wxi) are processed by the preprocessor. Library files (.wixlib) are processed during linking. You need variables that happen after linking, aka binder variables (WixVariable element). On Wed, Mar 2, 2011 at 5:41 AM, MikeR michael.ru...@gmail.com wrote: Is it possible to reference

[WiX-users] How to Enable logging always

2011-03-07 Thread Thai-Hoa Nguyen
Hello... Is there a setting in Wix to enable logging as always? Thank you. -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data

Re: [WiX-users] How to Enable logging always

2011-03-07 Thread Michael Clark
To enable Windows Installer logging To enable Windows Installer logging yourself, open the registry with Regedit.exe and create the following path and keys: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer Reg_SZ: Logging Value: voicewarmupx The letters in the value field can be

[WiX-users] Message from regedit.exe about reordering permissions after util:PermissionEx

2011-03-07 Thread David Battey
I'm trying to set permissions on a registry key so that it can be written to without requiring elevation. I've got the following component: Component Id=NodeAKey Guid={0B1C585D-E6C9-4230-B837-23578983D157} RegistryKey Id=NodeAKey Root=HKLM Key=SOFTWARE\...\NodeA Action=create

[WiX-users] Using a file from media in a custom action.

2011-03-07 Thread Mark Tempel
Hello, I am in a situation where I need to use a file in a custom action that I am also laying down as part of the file set stored in the cab build into my MSI. Is there a way to get that file out of the cab from a custom action? I know I can include the file in the binaries table, but that

[WiX-users] Network Path

2011-03-07 Thread George Thuo
I'm running a MSI install file to register DLL's on client machines. The DLL's are located on a server share (same location that the MSI is running from). So the DLL's will be registered to a network share e.g. \\server\apps\programs\xzip.dll. How do you read the network path of where the

[WiX-users] Detecting uninstall or minor upgrade

2011-03-07 Thread Mark Turek
How do I detect uninstall or minor upgrade or first time install. I looked at the values in the table in the following article http://stackoverflow.com/questions/320921/how-to-add-a-wix-custom-action-that-happens-only-on-uninstall-via-msi and I don't think they are correct! Are they? Why do I

[WiX-users] UninstallString is incorrect to uninstall the product.

2011-03-07 Thread Kevin Burton
This probably has to do with the fact that I have the element MajorUpgrade in the .wxs but I notice that in the registry the UninstallString is the same as the InstallString something like msiexec -I{ABCDE}. The software doesn't actually get uninstalled with this string I have to use (and

Re: [WiX-users] UninstallString is incorrect to uninstall the product.

2011-03-07 Thread Wilson, Phil
No. Windows says basically, oh, this is an MSI product so I'll just call the appropriate Msi API call directly. Phil Wilson -Original Message- From: Kevin Burton [mailto:kev...@buyseasons.com] Sent: Monday, March 07, 2011 12:39 PM To: General discussion for Windows Installer XML

Re: [WiX-users] Using a file from media in a custom action.

2011-03-07 Thread Wilson, Phil
There is a type of custom action (resolves to type 18 and variations) that specifically means run this exe being installed with the product as a custom action. As long as you want to run it after the files are installed that's fine, but I suspect you wouldn't be asking if that was the

[WiX-users] Upgrade SQL Database

2011-03-07 Thread Thai-Hoa Nguyen
Hello... I created an installation 1.0 which creates a database and insert data into it. This installation prompts the user to enter the SQL user and password. This installation doesn't remember the SQL user and password anywhere. I then created an MINOR UPGRADE installation to modify the

Re: [WiX-users] Upgrade SQL Database

2011-03-07 Thread Michael Osmond
HI One of two options. My recommendation would be don't use SQL Authentication unless you really need to, or only provide it as an advanced option for SQL upgrades. The SQL tool will use Integrated Auth if the SQL user and password are left blank. That would mean that the user running the

[WiX-users] LaunchCondition for Microsoft SQL Server Compact 3.5 Service Pack 2

2011-03-07 Thread Castro, Edwin G. (Hillsboro)
Anybody know of a good launch condition to determine whether Microsoft SQL Server Compact 3.5 Service Pack 2 (both 32-bit and 64-bit) are installed? I want to disallow installation of my package if they are not installed. Edwin G. Castro Software Developer - Staff Electronic Banking Services

Re: [WiX-users] LaunchCondition for Microsoft SQL Server Compact 3.5Service Pack 2

2011-03-07 Thread Sharad Patel
On my machine the SQL CE registry keys have a value called 'DesktopRuntimeServicePackLevel'. Have a look under: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU or HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server Compact Edition\v3.5\ENU

Re: [WiX-users] LaunchCondition for Microsoft SQL Server Compact 3.5Service Pack 2

2011-03-07 Thread Castro, Edwin G. (Hillsboro)
Brilliant! Thank you very much, that's exactly what I was looking for! Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail -Original Message-

[WiX-users] 64 bit registry issue with CA

2011-03-07 Thread Arun Kumar
Hi All, I am writing 32 bit MSI and it has Custom Action to make some registry entries using .reg file. It works very well on 32 bit machine but on win7 64 bit machine the registry entries are not redirected to HKEY_LOCAL_MACHINE\Software\WOW6432Node My Custom Action looks like: {

Re: [WiX-users] 64 bit registry issue with CA

2011-03-07 Thread Michael Osmond
You could have two .reg files one for each situation condition the customaction using the Msix64 property. Having said that, would recommend you use the Wix RegistryKey/RegistryValue instead. Michael -Original Message- From: Arun Kumar [mailto:arun_jku...@persistent.co.in] Sent: