[WiX-users] Patching multiple versions

2013-06-19 Thread Sudripta Nandy
Hello All, We have a product for which versions 1.0.0, 1.0.1 and 1.0.2 have been released. For each of these versions, the product code was auto-generated to enable automatic removal of previous version before installation of new MSI. Now, we have released version 1.0.3 and I am trying to cr

[WiX-users] how to unsubscribe

2013-06-19 Thread Ashokkumar Addanki
Hi, I want to unsubcribe to this mailing list. Please guide me how to do this. Reason for this is, i moved out of WIX technology:-( Regards, Ashok -- This SF.net email is sponsored by Windows: Build for Windows Store.

Re: [WiX-users] MSI as a pre-req

2013-06-19 Thread Rob Mensching
*and* Burn will reference track the existing MSI correctly. On Wed, Jun 19, 2013 at 1:04 PM, Hoover, Jacob wrote: > As long as A is the same version as what is installed, Burn won't > reinstall it. If the bundle's A is newer (higher version) then by default > it will upgrade it. If you wanted

Re: [WiX-users] Fwd: WIX- Reinstalling MSI - not registring the component

2013-06-19 Thread sureee
Thanks, I am using the same MSI for install/un-install/re-install. The Install and Un-install is working fine, but re-install is showing the 2908 error. Users can unistall and reinstall the same MSI right...? When i uninstall the registry key is deleting, but one key exists in HKLM/software/mic

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Alain Forget
I've implemented Blair's 2nd suggestion, and the services do seem to get installed, but I don't think they're being installed correctly, because the services then cannot start and the installer fails. I think the -install argument of jsl.exe does some other special things to wrap the Java progr

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Hoover, Jacob
I don't think so, assuming you are having a unique EXE per service. I think what Blair was saying is the issue of having the same exe name (single component) in multiple services. I think what you need is a component per file, with the exe of each of the services (unique copy for each) and thei

Re: [WiX-users] MSI as a pre-req

2013-06-19 Thread Hoover, Jacob
As long as A is the same version as what is installed, Burn won't reinstall it. If the bundle's A is newer (higher version) then by default it will upgrade it. If you wanted to override this behavior, you could write your own BA to do so. -Original Message- From: George Fleming [mailt

[WiX-users] MSI as a pre-req

2013-06-19 Thread George Fleming
Currently I have a Setup with two MSI's: MSI A is a pre-req of MS B. Ideally, I would like to install A only if A hasn't been installed. Is this possible? -- This SF.net email is sponsored by Windows: Build

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Alain Forget
I agree that one file per component is best, but would doing so conflict with Blair's 2nd solution for registering my services such that the uninstaller can wait for the StopServices step to release the other files in use before deciding that a restart is required? -Original Message- F

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Hoover, Jacob
No, a component can only have one key path, be it a file, directory, or registry entry. Any time the key file changes, the component will be serviced. If you have the exe being the key file and it never changes, then your jar files will never be updated unless you are doing a major upgrade wit

[WiX-users] HELP! How to turn off Logging with C# custom actions

2013-06-19 Thread StevenOgilvie
Hi folks, I have database passwords and web app pool username passwords showing up in my MSI log file I have verbose logging on: I have the properties set like this: I have my deferred custom action set like this: NOT Installed in my custom action: [CustomAction] public static A

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Alain Forget
Oh, I see, so if we make a Component contain multiple files, any time any one of those files are changed, the installer will uninstall and reinstall the entire component, and all the files therein (assuming I understand correctly). This is fine for our purposes, and we are already only doing Maj

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Hoover, Jacob
One file per component is the most flexible for maintenance, but depending on your patching/upgrade plan it may not be needed. If the key file to the component is a 3rd party exe (and all of your jars were within this component), then you would have to have RemoveExistingProducts scheduled early

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Alain Forget
You're quite right; after installing our software, there is a separate jsl.exe process for each of our services. One disturbing thing I've noticed is that if I then reboot the computer after installing our software, then open the Task Manager and press the Show Processes from All Users button, t

Re: [WiX-users] How to skip components during patching

2013-06-19 Thread Phil Wilson
That's not going to solve the problem. REINSTALL=ALL means patch all features, and I'll also point out that you may already be in trouble because of repair. With your existing unpatched product installed, what happens if you do a repair from add/remove programs or by right-clicking the MSI you used

Re: [WiX-users] Fwd: WIX- Reinstalling MSI - not registring the component

2013-06-19 Thread Phil Wilson
You can't "reinstall" an MSI. You need to do an update of some kind, like a patch, major upgrade, minor update etc. The MSI should not have got this far if you really just tried to reinstall the same MSI - it would gone into maintenance repair mode or told you the product was already installed, so

Re: [WiX-users] How to skip components during patching

2013-06-19 Thread George Fleming
That might be acceptable if the default is to patch just one feature. How does someone build a patch for just one feature? -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, June 18, 2013 1:29 PM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] Condition for Installing softwares

2013-06-19 Thread Phil Wilson
If you mean prerequisite, prerequisites should be installed by a bootstrapper before the MSI part of the setup starts. That's what things like Burn are for. Otherwise, a cancel is a cancel. The entire MSI stops and rolls back. If you want that Prerequest installed all the time, install it before

Re: [WiX-users] Passing properties to merge modules

2013-06-19 Thread David Watson
I assume that the type has to match the field type in the table into which you are substituting the value, in this case the Target Column in the CustomAction table which is of type formatted which is text. -Original Message- From: TimM [mailto:timmay...@smarttech.com] Sent: 19 June 2013 1

[WiX-users] Finding previous install in the registry from a bundle

2013-06-19 Thread jo...@msli.com
I am trying to create a bundle to install an msi that does not support upgrades, but no warning is shown to the user. If I try to run the msi by hand, I see the error "Another version of ... ", but running the bundle just shows a random guid for the msi is being processed, the bundle completes wit

[WiX-users] Wix CompilerExtension documentation and tutorial?

2013-06-19 Thread John Ludlow
Hi all, We have a custom action which processes rows in a custom table (the details of this don't matter, but suffice to say some code is run for each record). Currently we are using a CustomTable element in our wxs to implement this, and I think we could do better with a WiX extension. I want to

Re: [WiX-users] Passing properties to merge modules

2013-06-19 Thread TimM
Okay if I change the Configuration format to Text then the projects all build and it seems to work. So it does not seem to like it if the format is Integer? So this will work for now as I did not need this value to actually be integer so it works fine as Text, but if if a value actually needs to b

Re: [WiX-users] Java Program Installer

2013-06-19 Thread Tim Hawes
I think Jacob makes a good point, at some point in time, I will learn how to use Burn and create a combined installer. This addresses issues I had not set out to address (reduce over all installer size by using CAB files to store common jars), and reduces the number of installers to one, that just

Re: [WiX-users] Error LGHT0217 the system was unable to find the specified registry key or value

2013-06-19 Thread Adam Brengesjö
ok, thanks. But pardon my ignorance, but how exactly do I suppress the validation? 2013/6/19 Blair Murri > A service account that is not a local administrator seems to fail to > access the MSI service (which is also required to run validation). Thus, > the problem may not be misconfigured scri

Re: [WiX-users] Error LGHT0217 the system was unable to find the specified registry key or value

2013-06-19 Thread Blair Murri
A service account that is not a local administrator seems to fail to access the MSI service (which is also required to run validation). Thus, the problem may not be misconfigured script engines but instead system security. The workaround is to suppress validation in builds running non-elevated

Re: [WiX-users] Automatic rollback on a setup prerequisite in WiX 3.6 Burn

2013-06-19 Thread Blair Murri
Yes, because it is all one chain. RollbackBoundaries (as Jacob mentions) were created to make that kind of distinction (separate the chain into parts to leave parts behind if the entire chain fails). > From: jacob.hoo...@greenheck.com > To: wix-users@lists.sourceforge.net > Date: Tue, 18 Jun 20

Re: [WiX-users] Java Program Installer

2013-06-19 Thread Blair Murri
@Jacob: a 64-bit MSI cannot be installed onto a 32-bit system. Thus, a 32-bit MSI is required to support 32-bit systems. 64-bit MSIs are required to place code into 64-bit areas on 64-bit systems. No similar restriction exists for 32-bit areas. A 64-bit program that provides 32-bit code for in

Re: [WiX-users] Passing properties to merge modules

2013-06-19 Thread TimM
When I add the = in the Substitution line: The my install build fails with the following: light.exe(0,0): error LGHT0001: Encountered an unexpected merge error of type 'msmErrorDataRequestFailed' for which there is currently no error message to display. More information about the merge and the f

Re: [WiX-users] Java Program Installer

2013-06-19 Thread Tim Hawes
Alain Forget writes: > It doesn't sound like your problem is with Java being a service, but in case > you have trouble with however your Java programs are bundled into exes to run > as services and are looking for an alternative, thus far I've found the Java > Service Launcher (http://jslwin.s

Re: [WiX-users] Uninstall restart issue

2013-06-19 Thread Blair Murri
I looked at the source code from the jsl website and what they are doing is installing whichever jsl*.exe binary as the service executable (passing '-ini ' as the argument), and loading the java.dll file from the selected java runtime after parsing the config file, then using jni to connect the

Re: [WiX-users] Passing properties to merge modules

2013-06-19 Thread David Watson
Don't you need an = in the substitution value? It's been a long time since I did this (http://wyrdfish.wordpress.com/2011/01/05/configurable-merge-modules/) so I may be wrong. -Original Message- From: TimM [mailto:timmay...@smarttech.com] Sent: 18 June 2013 23:00 To: wix-users@lists.so

[WiX-users] Error LGHT0217 the system was unable to find the specified registry key or value

2013-06-19 Thread Adam Brengesjö
Hi! Yesterday I setup a WiX project with MSBuild and everything worked fine when I ran it locally, and I comitted the changes. However, our nightly build failed with error LGHT0217. And I did read the FAQ and the linked blog posts on how to fix it. But the solution, as I understand it, is to modi

[WiX-users] Condition for Installing softwares

2013-06-19 Thread Chaitanya Sanapala [PC-BLR-DEV]
Hi, I installed Prerequest softwares,by using the custom action iam triggering the softwares. not installed not installed When the user want to cancel the Project Entire MSi is cancelling. How to set a condition for continuning the Project. Reagrds, Chaitanya. --