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 Powell, Simon
d a session property? ## $_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.". "{)/];)^{";$,+=(++$,);$_.=">&$,";`$_`; -Original Message- From: Powell, Simon [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 1:31 PM To: Gen

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 Powell, Simon
ss to the data in the installer database. Did you really want a product property or do you actually need a session property? ## $_='^#(/||/@[EMAIL PROTECTED]@:^[-['^";@@@\\>])@.". "{)/];)^{";$,+=(++$,);$_.=">&$,&q

[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

Re: [WiX-users] Custom Action Error

2008-11-11 Thread Powell, Simon
e) { sw.WriteLine(CurRec.ToString()); } } } } } Is there a particular table in the collection that's causing the error when trying to read it's name property? Should I be using for(int i=0;... Instead? Is this

[WiX-users] Custom Action Error

2008-11-11 Thread Powell, Simon
Hi, I'm getting the following errors in the installation log : MSI (s) (DC:30) [09:49:47:644]: Doing action: DKIB_ExportDataTables Action ended 09:49:47: InstallValidate. Return value 1. MSI (s) (DC:30) [09:49:47:644]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target

Re: [WiX-users] What's wrong with this syntax?

2008-10-17 Thread Powell, Simon
on -Original Message- From: Powell, Simon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 6:57 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] What's wrong with this syntax? Hi, I get this error message, but I can't see what's wrong with the syntax.

[WiX-users] What's wrong with this syntax?

2008-10-16 Thread Powell, Simon
Hi, I get this error message, but I can't see what's wrong with the syntax. "SQL query syntax invalid or unsupported. Database: target.msi. Could not load table 'Property' in SQL query: SELECT `Property` FROM `Property` WHERE `Property`='REBOOT'" Below is the line of code : IList PropLi

[WiX-users] CreateTransformSummaryInfo Error

2008-10-16 Thread Powell, Simon
Hi, If I use the following line of DTF code : targetDb.CreateTransformSummaryInfo(sourceDb, transformFile, TransformErrors.AddExistingTable, TransformValidations.Product); I get the following error : This installation package could not be opened. Contact the application vendor to v

Re: [WiX-users] Transform Creation

2008-10-14 Thread Powell, Simon
info with error and validation conditions. targetDb.CreateTransformSummaryInfo(sourceDb, transformFile, errors, validations); -----Original Message- From: Powell, Simon [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 3:15 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Tra

[WiX-users] Transform Creation

2008-10-14 Thread Powell, Simon
Hi, What are the basic steps to create a Transform with DTF? Regards Simon Powell -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, p

Re: [WiX-users] Insert error

2008-10-04 Thread Powell, Simon
I'm not using it in a custom action. I was testing the ability to INSERT a row. -Original Message- From: Richard [mailto:[EMAIL PROTECTED] Sent: 26 September 2008 23:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Insert error > I'm using DTF to in

[WiX-users] FW: Insert error

2008-09-26 Thread Powell, Simon
Hi, I'm using DTF to insert a new row into an empty CustomAction table. I'm using the following block of code : RunMSIQuery(txtMSI.Text, "INSERT INTO `CustomAction` (`Action`, `Type`, `Source`, `Target`) VALUES ('VisionappSecurityGroup', 51, 'SecurityGroup', 'v-[NtName]')" public static bool

[WiX-users] Inset Into Property

2008-09-24 Thread Powell, Simon
Hi, What is the correct set of statements to insert a new row into the Property Table. Although the DTF docs are great the number of example are limited. Regards Simon Powell -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copi

Re: [WiX-users] DTF FeatureParent

2008-08-01 Thread Powell, Simon
But, its supported by the Installer Object of the Automation Interface. Straight from the Windows Installer SDK... "The FeatureParent property specifies the parent feature of a feature. An empty string for this property indicates the feature has no parent and is a root item. This is a read-only

Re: [WiX-users] CabFileInfo Class CopyTo method

2008-07-29 Thread Powell, Simon
Please ignore. Will check problem more carefully in future. Sorry Regards Simon Powell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Powell, Simon Sent: 29 July 2008 22:11 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users

[WiX-users] CabFileInfo Class CopyTo method

2008-07-29 Thread Powell, Simon
Hi, The CopyTo method the CabFileInfo Class does not preserve the DateTime Modified of the original file stored in an extracted CAB. Or am I using it wrong. If I extract the files with a CAB extraction utility, I don't have this problem. Regards Simon Powell -- This e-mail is confidentia

Re: [WiX-users] Extract files from an MSP

2008-07-25 Thread Powell, Simon
gt; patch: > > http://blogs.msdn.com/heaths/archive/2006/04/07/571138.aspx > > I've used it quite a bit to view and get at patch information; it > works great. > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Beh

Re: [WiX-users] Extract files from an MSP

2008-07-25 Thread Powell, Simon
://blogs.msdn.com/heaths/archive/2006/02/14/532200.aspx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Powell, Simon Sent: Friday, July 25, 2008 4:29 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Extract files from an MSP

[WiX-users] Extract files from an MSP

2008-07-25 Thread Powell, Simon
Hi, Is there a simple way to extract files from an MSP file? Regards Simon Powell -- This e-mail is confidential and the information contained in it may be privileged. It should not be read, copied or used by anyone other than the intended recipient. If you have received it in error, pl

Re: [WiX-users] DTF - Using ExtractFiles Method

2008-07-23 Thread Powell, Simon
msiexec /a on that package confirms the problem as it gives error 2356. "Could not locate cabinet in stream: Sql.cab." Maybe their bootstrapper does something to fixup the MSI at install time? -Jason- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [WiX-users] DTF - Using ExtractFiles Method

2008-07-23 Thread Powell, Simon
o fixup the MSI at install time? -Jason- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Powell, Simon Sent: Monday, July 21, 2008 3:11 PM To: wix-users@lists.sourceforge.net Cc: Jones, Ben Subject: [WiX-users] DTF - Using ExtractFiles Method Hi, I'm u

[WiX-users] DTF - Using ExtractFiles Method

2008-07-21 Thread Powell, Simon
Hi, I'm using the ExtractFiles Method to extract files from the Windows 2003 Resource kit msi (rktools.msi). Below is a simple snippet of code used : InstallPackage MsiPackage = new InstallPackage(txtMsi.Text, DatabaseOpenMode.ReadOnly); MsiPackage.WorkingDirectory = "c:\\temp"; Regex myReg = n