Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-12 Thread Powell, Simon
Thanks for your help. -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 12 November 2008 18:59 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] GetProductProperty "The Handle is invalid" error Powell, Simon wrote: > Cou

Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-12 Thread Bob Arnson
Powell, Simon wrote: > Could you please send a simple example of how to obtain the property > "ProductCode"? There is no properties collection for the session object > or it's child database object. I didn't think you could access the > database tables from a deferred custom action? > If you ne

Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-12 Thread Powell, Simon
t. Subject: Re: [WiX-users] GetProductProperty "The Handle is invalid" error My guess is that you are running a deferred custom action, and thus have minimal access to the data in the installer database. Did you really want a product property or do you actually nee

Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-12 Thread Powell, Simon
x27;m very stuck. Thanks Simon -Original Message- From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 12 November 2008 06:17 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] GetProductProperty "The Handle is invalid" error Powell, Simon wrote: > Ac

Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-11 Thread Bob Arnson
Powell, Simon wrote: > According to the MSI SDK, ProductCode is one of the few properties > available during a deferred custom action. > GetProductProperty requires that the database be opened by MsiOpenProduct; the handle passed to a custom action doesn't qualify. See the MsiGetProductProper

Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-11 Thread Powell, Simon
m: Brian Rogers [mailto:[EMAIL PROTECTED] Sent: 11 November 2008 22:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] GetProductProperty "The Handle is invalid" error My guess is that you are running a deferred custom action, and thus have minimal acce

Re: [WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-11 Thread Brian Rogers
ECTED]@:^[-['^";@@@\\>])@.". "{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`; -Original Message- From: Powell, Simon [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 1:31 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] GetProduc

[WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-11 Thread Powell, Simon
Hi, Both a colleague and I are having the same error calling GetProductProperty from a Managed custom action. Is this a know issue? If not, what is the correct usage? We both use Visual Studio 2008 and the latest version of the WIX3 build (v3.0.4624.0). Below is a snippet from the log : Actio

[WiX-users] GetProductProperty "The Handle is invalid" error

2008-11-11 Thread Powell, Simon
Hi, Both a colleague and I are having the same error calling GetProductProperty from a Managed custom action. Is this a know issue? If not, what is the correct usage? We both use Visual Studio 2008 and the latest version of the WIX3 build (v3.0.4624.0). Below is a snippet from the log : Actio