Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-24 Thread Rob Mensching
...@x2systems.com From: Richard [mailto:legal...@xmission.com] Sent: Fri 20/02/2009 18:09 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DTF - install, rollback and uninstall In article e66649032ad92b42901bf5835c76a27f9...@harwood.x2systems.com

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Neil Sleightholm
discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall Neil Sleightholm wrote: I think I understand the component state approach but I am not sure this is possible with the current implementation of custom tables as I can't see how they can

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Thomas S. Trias
/ Original Message Subject: Re: [WiX-users] DTF - install, rollback and uninstall From: Christopher Painter chr...@deploymentengineering.com To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Date: 2/22/2009 8:26 AM The SSRS data driven

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Bob Arnson
Neil Sleightholm wrote: Do you have an example of creating a custom table with the component reference? It's just another column with a string. So from ext\UtilExtension\wixext\UtilCompiler.cs: Row row = core.CreateRow(sourceLineNumbers, WixInternetShortcut); row[0] = shortcutId; row[1]

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Christopher Painter
...@artizan.com wrote: From: Thomas S. Trias tomtr...@artizan.com Subject: Re: Re: [WiX-users] DTF - install, rollback and uninstall To: chr...@deploymentengineering.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Date: Sunday, February 22, 2009, 9:37

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Neil Sleightholm
] Sent: 22 February 2009 14:26 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall The SSRS data driven CA prototype I sent you back in November has a custom table with a Component_ column. The _ signifies it's a FK back

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-21 Thread Bob Arnson
Neil Sleightholm wrote: I think I understand the component state approach but I am not sure this is possible with the current implementation of custom tables as I can't see how they can be associated with a component. WiX's custom tables have a foreign key into the Component table (or an

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Neil Sleightholm
Thanks for the explanation. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Richard [mailto:legal...@xmission.com] Sent: Thu 19/02/2009 23:52 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DTF

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Neil Sleightholm
other don't.) Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Richard [mailto:legal...@xmission.com] Sent: Fri 20/02/2009 00:19 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DTF - install, rollback

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Neil Sleightholm
[mailto:b...@joyofsetup.com] Sent: Fri 20/02/2009 01:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall Neil Sleightholm wrote: Where is the detection or conditional calls in that? In most cases this seems to end up calling

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Rob Mensching
mailto:n...@x2systems.com From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Fri 20/02/2009 01:15 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall Neil Sleightholm wrote: Where

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Richard
In article e66649032ad92b42901bf5835c76a27f9...@harwood.x2systems.com, Neil Sleightholm n...@x2systems.com writes: I think you missed the point. I can see there are two different entry = points, one for install the other for uninstall but what I can't see is = the condition that says to

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Richard
In article 499e7ecd.8000...@wixtoolset.org, Rob Mensching r...@wixtoolset.org writes: Using conditions to control your CustomAction install/uninstall behaviors is primitive and usually insufficient... but the most visible. Data driven CustomActions that modify machine state via

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Rob Mensching
That's exactly it. This also happens to be the exact same way the Windows Installer operates on all of its tables that install Resources. That's why this model works well. IIRC, all of the WiX CustomActions that install Resources work this way as well. I learned this from the MSI SDK a long

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Rob Mensching
Those Properties are essentially kill switches for the CustomActions. I don't remember the scenarios off the top of my head but we added those and the SKIPCONFIGUREIIS based on some needs. They are big red buttons that completely kill the CustomActions. The Properties do not provide fine

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Neil Sleightholm
From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Fri 20/02/2009 09:58 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall There is a helper function in wcautil that is usually a tell tale sign

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Bob Arnson
Rob Mensching wrote: WcaGetComponentToDo() is a nice wrapper that cleans up much of the confusion. You're welcome.g Every custom action that modifies the machine is tied, directly or indirectly, to a component. The compiler extension and schema make the authoring be a child of Component

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Neil Sleightholm
] Sent: Fri 20/02/2009 18:09 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] DTF - install, rollback and uninstall In article e66649032ad92b42901bf5835c76a27f9...@harwood.x2systems.com, Neil Sleightholm n...@x2systems.com writes: I think you missed the point. I can see

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-20 Thread Thomas S. Trias
be wrong. g/ Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ Original Message Subject: Re: [WiX-users] DTF - install, rollback and uninstall From: Neil Sleightholm n...@x2systems.com To: General discussion for Windows Installer XML toolset

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Neil Sleightholm
Ginchereau [mailto:jason...@microsoft.com] Sent: Thu 19/02/2009 03:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall Use Session.GetMode(InstallRunMode) -- it's just a very thin wrapper around the MsiGetMode Win32 API (http

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Christopher Painter
? E-Mail Me --- On Thu, 2/19/09, Neil Sleightholm n...@x2systems.com wrote: From: Neil Sleightholm n...@x2systems.com Subject: Re: [WiX-users] DTF - install, rollback and uninstall To: General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Date: Thursday

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Jason Ginchereau
Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall I took at look at that and couldn't figure out how you could tell it was being called during and uninstall. I am sure I am missing something obvious! Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Richard
In article 973239.86372...@web36601.mail.mud.yahoo.com, Christopher Painter chr...@deploymentengineering.com writes: [...] or use an imm eadiate CA to pass the REMOVE property to your deferred custom action and then evaluate it in your code. Seems kinda overkill to pass the value of REMOVE

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Christopher Painter
and if you do anything else I'll criticize you. --- On Thu, 2/19/09, Richard legal...@xmission.com wrote: From: Richard legal...@xmission.com Subject: Re: [WiX-users] DTF - install, rollback and uninstall To: wix-users@lists.sourceforge.net Date: Thursday, February 19, 2009, 2:30 PM In article

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Richard
In article 888080.51646...@web36603.mail.mud.yahoo.com, Christopher Painter chr...@deploymentengineering.com writes: [...] in order to facilitate your snarky comment: Still no life, I see. For several years now, all you've done is respond to what I've posted here and in newsgroups with

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Neil Sleightholm
February 2009 17:50 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DTF - install, rollback and uninstall Oh. To detect if the product is being uninstalled you need to check the REMOVE property: http://msdn.microsoft.com/en-us/library/aa371194.aspx. But of course you

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-19 Thread Bob Arnson
Neil Sleightholm wrote: Where is the detection or conditional calls in that? In most cases this seems to end up calling the same code but with a true/false code indicating install/uninstall. Some of them need to have very different -- or differently-timed -- behavior during install -v-

[WiX-users] DTF - install, rollback and uninstall

2009-02-18 Thread Neil Sleightholm
I a DTF authored custom action how can you tell the mode it is running in, e.g. install, rollback or uninstall? Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com -- Open

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-18 Thread Jason Ginchereau
discussion for Windows Installer XML toolset. Subject: [WiX-users] DTF - install, rollback and uninstall I a DTF authored custom action how can you tell the mode it is running in, e.g. install, rollback or uninstall? Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n