Re: [WiX-users] BadImageFormatException, Microsoft.Deployment.WindowsInstaller

2010-09-24 Thread Gary Gocek
An update to my original post to say that I reproduced my error by creating a small solution with a .NET 4 code project and a .NET 4 CA project, and I built it on a 32-bit build server with WIX 3.5.2110. The error seems to say that the installer was built via a newer runtime than is available at in

Re: [WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread Christopher Painter
Right, sorry if it wasn't clear when I first said that.  PackageCode is more for MSI's and not really important to MSM's.   Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original M

[WiX-users] Square brackets in variable value

2010-09-24 Thread John Fry
Hi, As part of an upgrade from Wix 2 to 3.5 the following is no longer working: as it gives: error LGHT0204 : ICE03: Invalid format string; Table: Environment, Column: Value, Key(s): OURPROD_TGT_PATH.GUID_HERE I found posts online saying to escape the brackets so [ becomes [\[] and ] becomes

Re: [WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread John Fry
Thanks! I replaced the Package ID with the old Module GUID and deleted the Module GUID, and Wix seems to have kept the same module signature. It looks like the Package ID wasn't being used anywhere as long as there was a Module GUID so it doesn't matter that the Package ID changed. Thanks again! J

Re: [WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread Christopher Painter
Checkout an example at: http://iswix.codeplex.com/SourceControl/changeset/view/53668#841593 This module ends up having a signature of: IsWiXAddInMM.68061036_B1D9_4092_AD3B_DC569F3DD183 1033 1.0.0.0 and a package code of:  {68061036-B1D9-4092-AD3B-DC569F3DD183} every time it builds.   This has

Re: [WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread Christopher Painter
Yes, what I was trying to say is  that WiX v3 uses the Module Id along with the Package Id to create the Module.GUID you see in the ModuleSignature table.   Just build your old, tweak it up and build the new and you'll see they are the same in Orca if you did it right.    Christopher Painter, Au

[WiX-users] Checking for other products

2010-09-24 Thread ldykes
Hi all, I want to terminate the installation of a product unless there is a recent version of a different product already installed, so I defined an Upgrade element and a Condition thus: . . . . REQUIREDBINARIES . . This didn'

Re: [WiX-users] custom action to delete file on uninstallation

2010-09-24 Thread dB .
If everything else fails, there's a Win32_DeleteFile CA in http://msiext.codeplex.com/. dB. @ dblock.org Moscow|Geneva|Seattle|New York -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Friday, September 24, 2010 8:04 AM To: wix-users@lists.sourceforge.

Re: [WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread John Fry
Won't removing the module GUID change the module signature? If we have the following lines: then the ModuleID field in the ModuleSignature table ends up as: OurModuleName.OLD_MODULE_GUID If we remove the module GUID so it looks like: then the ModuleID field in the ModuleSignature table e

Re: [WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread Christopher Painter
Merge modules are recognized by their Module Signature.  I know of no purpose for the Summary Information Package Code other then it must have one becaues it's an MSI database.  I  know of no harm in changing it and this is probably the reason why the schema no longer requires it.   Christopher

[WiX-users] Wix 3.5 Module GUID Deprecated

2010-09-24 Thread John Fry
Hello, We’re upgrading our build system from Wix 2.0 to 3.5 and are now getting the following warning: warning CNDL1088 : The Module/@Guid attribute is deprecated merge modules use their package code as the modularization guid. Use the Package/@Id attribute instead. We currently specify both a

[WiX-users] Per-user installation with elevation prompt

2010-09-24 Thread Bruce Cran
Hi, I'm trying to do a major upgrade of a product which was installed per-user but which installed files into ProgramFilesFolder. The previous installer was authored using the Visual Studio Deployment project and defaulted to a perUser installation (with the option of installing perMachine) - but

Re: [WiX-users] Major upgrade, MigrateFeatureStates & custom action

2010-09-24 Thread Wilson, Phil
Setting MigrateFeatureStates means that you want to do an upgrade where the features that get installed are exactly the same as the features that are already installed. It usually doesn't make sense to set that and then set features in a UI dialog. Phil Wilson -Original Message- From

Re: [WiX-users] Major upgrade, MigrateFeatureStates & custom action

2010-09-24 Thread fiordean dacian
Hi I made a mistake when I copied the "FindRelatedProducts" in my initial email. Here is the correct text from the verbose log (we see the property WIX_UPGRADE_DETECTED being correctly set to my initial installed product GUID) Action start 16:44:52: FindRelatedProducts. FindRelatedProducts: Fou

Re: [WiX-users] Heat.exe

2010-09-24 Thread Castro, Edwin G. (Hillsboro)
No. But you can specify the variable in the *.wixproj file. Set the DefineConstants element (or add to it). You'll need something like the following: VariableName=Path\To\SourceDir Please note that the debug configuration will likely have Debug defined in DefineConstants: Debug;VariableName=P

[WiX-users] Major upgrade, MigrateFeatureStates & custom action

2010-09-24 Thread fiordean dacian
Hello I have a couple of problems with my installer on a major upgrade. I'm using Wix 3.5. My installer has 2 features and I use the MajorUpgrade element available with Wix 3.5 to do my major upgrade. Here is what I did: Product Code and version changed within the new installer. As I use "Ma

Re: [WiX-users] Error in Custom Action

2010-09-24 Thread Alexander Kozlenko
Hello Yan, thanks for suggestion. I don't use Return attribute at all. As described in documentation "check" value is default. For this moment I use defined in WiX source file custom action with Type 19: and invoke it from my custom action if some error occurred with Session.DoAction metho

Re: [WiX-users] Error in Custom Action

2010-09-24 Thread Yan Sklyarenko
Can this be the case that you have Return='ignore' in the custom action definition? I suppose in this case returning ActionResult.Failure will be ignored. -- Yan -Original Message- From: Alexander Kozlenko [mailto:alexander.kozle...@hotmail.com] Sent: Thursday, September 23, 2010 01:50 T

Re: [WiX-users] call custom action after another custom action is finished

2010-09-24 Thread bryan rasmussen
Actually, Just found a compiler for Ruby so I suppose I will try with that to see if I can get the full application installed. Thanks, Bryan Rasmussen On Fri, Sep 24, 2010 at 2:36 PM, bryan rasmussen wrote: > "Pally Sandher" wrote: > >> Use a bootstrapper to install Ruby before your installer r

Re: [WiX-users] Wix 3.6 Bootstrapper Visual Studio Project

2010-09-24 Thread juergstaub
Anyone? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Wix-3-6-Bootstrapper-Visual-Studio-Project-tp5548437p5566641.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] call custom action after another custom action is finished

2010-09-24 Thread bryan rasmussen
"Pally Sandher" wrote: > Use a bootstrapper to install Ruby before your installer runs. > Concurrent installations are highly dangerous & just as unsupported. Ok, but Ruby's 'installer' is an .exe, not an MSI, should I still try to run a bootstrapper (never tried before) or can I get by with ru

Re: [WiX-users] custom action to delete file on uninstallation

2010-09-24 Thread Theo Landman
I would suggest the use of the wix element provided you know the (partial) name of the file(s) that you want to have removed. The On="uninstall" will ensure that the remove only happens if the parent component is removed. Theo Op 24-9-2010 14:03, Sean Farrow schreef: > Hi: > Is there a cust

[WiX-users] handling the existance of multiple versions in an installation

2010-09-24 Thread Sean Farrow
Hi: I am writing an installation that requires a product to be installed before installing my product. There can be multiple versions of the product installed on a system. There are multiple paths involved in detecting the product. How would people handle this for best practices given the follow

[WiX-users] custom action to delete file on uninstallation

2010-09-24 Thread Sean Farrow
Hi: Is there a custom action supplied with WIX to delete files on uninstallation that weren't included in components. I carn't delete the whole directory as some files in the directory aren't of my creating. Any help appreciated. Regards Sean. -

[WiX-users] Concatinating properties and string literals

2010-09-24 Thread Sean Farrow
Hi: I am in the process of writing a custom action to run an executable, can I concatenate a property name with a string literal of my executable? Regards Sean. -- Nokia and AT&T present the 2010 Calling All Innovators-Nor

Re: [WiX-users] call custom action after another custom action isfinished

2010-09-24 Thread Pally Sandher
Use a bootstrapper to install Ruby before your installer runs. Concurrent installations are highly dangerous & just as unsupported. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with

[WiX-users] call custom action after another custom action is finished

2010-09-24 Thread bryan rasmussen
Hi, I am running a custom action that is an exe saved in my installed directory. That custom action action should allow the user to install Ruby. When the Installer is finished I want to run a custom action that is a jscript How do I do that? I am supposing something like where Action is the

[WiX-users] How to handle run from source

2010-09-24 Thread Theo Landman
Hello, I have all kinds of problems with a run from source installation. The biggest problem is the fact that the installation directory is not standard adjusted to the source location. So for example, trying to s

Re: [WiX-users] Component installation status not affectedby condition?

2010-09-24 Thread Pally Sandher
That code looks perfectly fine so the problem must lie elsewhere. Without being able to see your UI & Property code the only thing I can think of is your Property is being set from one value to another value when the checkbox is checked or unchecked. Your code is checking whether the value is set o

Re: [WiX-users] How to author a type 50 custom action that targets abinary stream

2010-09-24 Thread Pally Sandher
What you actually want is a Type 2 Custom Action as there's no other type which can target an executable in a Binary Stream such as This is covered in the tutorial at http://www.tramontana.co.hu/wix/lesson3.php#3.2 [#Foo.bin] refers to a File Id. If you're not installing Foo.bin you can't use it.

[WiX-users] AUTO: Kenneth L Resler is out of the office. (returning 09/27/2010)

2010-09-24 Thread Kenneth . Resler
I am out of the office until 09/27/2010. I will respond to your message when I return. If you need immeadiate assistance call the Sheriff's helpdesk at 612-348-7279 Note: This is an automated response to your message "Re: [WiX-users] gui" sent on 9/24/2010 2:48:23 AM. This is the only notif

Re: [WiX-users] gui

2010-09-24 Thread David Amey
Thankyou for this, but it's not quite the solution I need. I need the option of the language selection, as the client needs different languages on different machines. Thankyou for your time! David -Original Message- From: Dave Brotherstone [mailto:dav...@pobox.com] Sent: 23 September 20