[WiX-users] major upgrade patch build error

2010-10-04 Thread Leo ...
Hi all, When I try to build a major upgrade patch with the product code and product version changed as well as a component been removed from a feature in the upgraded image, I get the error "error PYRO0305" indicating that removing component 'x' from feature 'y' is not supported. Why am I get

Re: [WiX-users] prevent component removal on major upgrade

2010-10-04 Thread Blair
This idea involves setting it to zero ONLY during major upgrades, never at any other time. Use the "UPGRADINGPRODUCTCODE" syntax for that. -Original Message- From: gapearce [mailto:mr_gapea...@yahoo.com] Sent: Monday, October 04, 2010 3:31 PM To: wix-users@lists.sourceforge.net Subject: R

Re: [WiX-users] prevent component removal on major upgrade

2010-10-04 Thread Blair
You have two choices for "late" scheduling, depending on desired behavior. For the one you describe, you use this: 1. If you don't have any "" in your InstallExecuteSequence: 2. If you do already have any "" in your InstallExecuteSequence (but no ""): 3. If you already have both "" and "" in

Re: [WiX-users] prevent component removal on major upgrade

2010-10-04 Thread gapearce
Sorry - just found this link to explain RemoveExistingProducts: http://msdn.microsoft.com/library/aa371197.aspx I am thinking of trying this, but this says that the RemoveExistingProducts needs to be scheduled 'between' the InstallExecute action, or the InstallExecuteAgain action, and the Instal

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Jeremy Farrell
http://lmgtfy.com/?q=msi+verbose+log > -Original Message- > From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] > Sent: Monday, October 04, 2010 9:52 PM > > Ok, how do I gereragte a verose log? > Cheers > Seanm. > > -Original Message- > From: Blair [mailto:os...@live.com] >

Re: [WiX-users] prevent component removal on major upgrade

2010-10-04 Thread gapearce
Oh, actually that won't work either. I'm trying to keep the folder around: It already exists. Changing the level to zero prevents it from getting installed - it doesn't prevent the original folder from getting deleted, right? Now I'm really confused. -- View this message in context: http://wi

Re: [WiX-users] prevent component removal on major upgrade

2010-10-04 Thread gapearce
Hi Blair, and thanks for the response. What you describe is an advanced functionality that I'm currently incapable of implementing. I just don't know enough about this stuff to even try that right now ... Is there an example of the latter suggestion that you might be able to provide? (i.e. "

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Chad Petersen
MSIEXEC /L*v [logfilename] /i [msifilename] Replace the square bracket variables with your log file name of choice and your MSI filename. -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Monday, October 04, 2010 1:52 PM To: General discussion for Windows I

Re: [WiX-users] Protect Files from beeing uninstalled

2010-10-04 Thread Wilson, Phil
..and as Blair has just reminded us, that means component rules must be followed. Phil Wilson -Original Message- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: Monday, October 04, 2010 2:15 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-use

Re: [WiX-users] Protect Files from beeing uninstalled

2010-10-04 Thread Wilson, Phil
You must have RemoveExistingProducts sequenced "early". If it's sequenced late the file update rules are used, which means that only higher versioned files are installed, and data files modified after being installed (like your config file) won't be replaced. http://msdn.microsoft.com/en-us/li

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Sean Farrow
Ok, how do I gereragte a verose log? Cheers Seanm. -Original Message- From: Blair [mailto:os...@live.com] Sent: 04 October 2010 21:15 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Issues when evaluating a condition You change both because the action

Re: [WiX-users] prevent component removal on major upgrade

2010-10-04 Thread Blair
Change your upgrade order (install upgrade, then remove old), but that requires that you carefully follow the component rules. The only other thing I can think of (if you really can't change the upgrade operation order) is this: you may try forcing the level of the feature containing your non-upgr

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Chad Petersen
I was having the same issue after converting from Wix2 to Wix3. Once I added To both InstallUISequence and InstallExecuteSequence then it started working right for me. Sounds like what you already tried. If so, use Orca to inspect both sequence tables and see if it shows up there in the proper o

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Blair
You change both because the actions will run run in the execute sequence only if the UI sequence didn't run. Generate a verbose log and see what is going on. -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Monday, October 04, 2010 12:58 PM To: General dis

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Sean Farrow
Hi: Even after changing the order, the conditions are still not working as expected. Anyone got any idea? All I need to do is see a particularly registry key exists. Cheers Sean. -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: 04 October 2010 19:09 To: Ge

[WiX-users] prevent component removal on major upgrade

2010-10-04 Thread gapearce
Hi, I have 3 components that get installed initially. But when I want to upgrade, I'd like to leave one component alone - it never needs to be upgraded. But I do want to upgrade the other two components. I already can do a successful upgrade, but that removes all of the files first, then re-in

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Sean Farrow
Hi: Thanks, just what I need, incidentally, what is the need to modify both the ui and execute sequences? Cheers Sean. -Original Message- From: Blair [mailto:os...@live.com] Sent: 04 October 2010 18:53 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users]

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Blair
http://wix.mindcapers.com/wiki/Launch_Conditions -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Monday, October 04, 2010 10:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Issues when evaluating a condition Hi: O

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Sean Farrow
Hi: Ok, given the launch conditions are checked before app search, how do I reverse this in wix? Cheers Sean. -Original Message- From: Blair [mailto:os...@live.com] Sent: 04 October 2010 16:30 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Issues wh

[WiX-users] Patching with WiX

2010-10-04 Thread Christopher Painter
I was wondering if anyone could provide me with any links or pointers for the following story. Foo.msi is a large ( 15,000 files ) installer that is currently build with InstallShield and services via Major Upgrades. Foo.msi's file comes from a couple dozen builds and the upstream build team d

Re: [WiX-users] set a property based on different OS

2010-10-04 Thread Chad Petersen
Use a separate Component for each necessary shortcut and then apply a child Condition on each component based off of the VersionNT= property. Here's a good reference for VersionNT. http://msdn.microsoft.com/en-us/library/aa370556(v=VS.85).aspx -Original Message- From: Wu, Emma (GE Intelli

[WiX-users] get sid error

2010-10-04 Thread vaidya
Hi Wix users, In my installer I am installing IIS application, after installing IIS I create a new application pool and assign the created user to folder. I get sid error for the above case. If I give 10 minutes delay after installing IIS everything works fine. is there any way to i

[WiX-users] set a property based on different OS

2010-10-04 Thread Wu, Emma (GE Intelligent Platforms)
Hi, I have a wix project creating my msi package for install. I have a shortcut to be created in the program menu. However, the target of this shortcut would be different based on different operating system. How can I do that? Thanks. Emma

[WiX-users] help

2010-10-04 Thread Chinna Ganesh
please unsubscribe me,,, On Thu, Sep 23, 2010 at 6:23 AM, wrote: > Send WiX-users mailing list submissions to >wix-users@lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit >https://lists.sourceforge.net/lists/listinfo/wix-users > or, via ema

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Blair
Both will do it, but if Orca is already installed it is usually faster. Dark will usually only show the derivation from the "standard" sequence, which happens to check launch conditions before running AppSearch (just the opposite of what you want). -Original Message- From: Sean Farrow [mai

Re: [WiX-users] using trhe same cab between two different configurations

2010-10-04 Thread David Watson
I've not tried it but check out the -reusecab switch on light. -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: 02 October 2010 14:23 To: wix-users@lists.sourceforge.net Subject: [WiX-users] using trhe same cab between two different configurations Hi: Is i

Re: [WiX-users] using trhe same cab between two different configurations

2010-10-04 Thread Tobias S
Works fine. The following 2 code samples illustrate it (Not working as some overhead was removed. Do a diff to check where they are different :-) --- setup.wxs ---

Re: [WiX-users] Protect Files from beeing uninstalled

2010-10-04 Thread Bruce Cran
On Mon, 4 Oct 2010 10:49:10 +0200 "Simon Chromow" wrote: > What I need to know is, is it possible to protect some files( for > example *.config ) > > from being unistalled or overwritten? You can mark the component as being 'Permanent' or, if the user will be changing the files, not set a GUID

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Sean Farrow
Will decompiling the msi with dark give me the sequence tables, or is orca the only way? Cheers Sean. -Original Message- From: Blair [mailto:os...@live.com] Sent: 04 October 2010 12:38 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Issues when evalua

Re: [WiX-users] Issues when evaluating a condition

2010-10-04 Thread Blair
Verify the order between the AppSearch and the LaunchConditions actions in the sequence table. You may have to explicitly set one before or after the other. -Original Message- From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] Sent: Sunday, October 03, 2010 10:10 AM To: wix-users@lis

Re: [WiX-users] using trhe same cab between two different configurations

2010-10-04 Thread Sean Farrow
Juast what I need, thatnks. Sean. -Original Message- From: Tobias S [mailto:tobias.s1...@gmail.com] Sent: 04 October 2010 13:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] using trhe same cab between two different configurations Works fine. The fol

[WiX-users] Protect Files from beeing uninstalled

2010-10-04 Thread Simon Chromow
Hello, during my upgrade from version 1 to version 2 the removeexistingproducts action deletes all files of version 1. What I need to know is, is it possible to protect some files( for example *.config ) from being unistalled or overwritten? Thanks Simon. ---

[WiX-users] FW: Regarding creation of ComplusApplication in WIX

2010-10-04 Thread vijayalakshmi
Hello, I am new to WIX. I need to create complusApplication Automatically in WIX. Format must be, Is there any possibility to create the above forma

Re: [WiX-users] Set error code from Custom Action

2010-10-04 Thread Dan Vasilov
Set a property in the installer (for example, CA001STATUS) and then use the property in the installer flow. Return an error from the custom action only if the error should stop the installation and you do not need to show the user a friendly error message. Good luck. Dan -Original Message

[WiX-users] Set error code from Custom Action

2010-10-04 Thread Adriana Cass
Hi, I have a custom action created in C#. How can i return my specific error code back to installer when my custom action fails? [CustomAction] public static ActionResult MyCA(Session session) { try { //code } catch(Ex

[WiX-users] Set error code from Custom Action

2010-10-04 Thread Adriana Cass
Hi, I have a custom action created in C#. How can i return my specific error code back to installer when my custom action fails? [CustomAction] public static ActionResult MyCA(Session session) { try { //code }

[WiX-users] Problem when creating WebVirtualDir with IIS7

2010-10-04 Thread Jean-Charles Meyrignac
I have a bug with the latest versions of Wix (3.5 and 3.6), when trying to create a virtual directory with IIS7. Here is the code I use :