Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
: 503-617-0291 www.fiserv.com -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Tuesday, March 05, 2013 9:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Running PowerShell script... Why is it that I can run the script in a dos box I.e

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Steven Ogilvie
? Is it because of the legacyV2 is set to true? -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: March-06-13 12:25 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... My guess would be that you

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... Hmm Your right I have PS version 3 but the powershell config is loading .NET 4 ?xml version=1.0 encoding=utf-8 ? configuration startup useLegacyV2RuntimeActivationPolicy

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Steven Ogilvie
Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: March-06-13 1:22 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... The useLegacyV2RuntimeActivationPolicy=true is what allows .NET 4 to load

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... In this case it is a 64 bit MSI (our services installer has a 32 bit and a 64 bit MSI based on the bitness of the OS, in this case testing with 64 bit MSI) since the path is: MSI (s) (30:B0

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Steven Ogilvie
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... Looking back at your original email I see the following: CustomAction Id=CA_NSERVICEBUSLICENSE BinaryKey=WixCA DllEntry=CAQuietExec Execute=deferred Return=check Impersonate

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Wednesday, March 06, 2013 12:14 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... This is driving me crazy, how hard is it to run a PowerShell script... If I

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Christopher Painter
@lists.sourceforge.net Subject: Re: [WiX-users] Running PowerShell script... This is driving me crazy, how hard is it to run a PowerShell script... If I run it in a CMD prompt PowerShell.exe .\RegisterLicense.xml it works!!! My dev machine is Window 7 64 bit This DLL is not our DLL it is a 3rd party dll

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Steven Ogilvie
: Christopher Painter [mailto:chr...@iswix.com] Sent: March-06-13 3:33 PM To: General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... I guess I have to wonder Why run PowerShell period? I

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
-Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: March-06-13 3:33 PM To: General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... I guess I have to wonder

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Steven Ogilvie
To: General discussion for Windows Installer XML toolset.; chr...@iswix.com Subject: Re: [WiX-users] Running PowerShell script... Hosting the PowerShell engine is not an easy thing to do. If you must use the provided cmdlet then the easiest way to execute it will be with a script. You'll just need

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
, March 06, 2013 1:10 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... The 64 bit MSI is checking the 64 bit registry for the POWERSHELL exe via Win64=yes The Custom action now has DllEntry=CAQuietExec64 If I take the custom

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Neil Sleightholm
no matter what you reference. Neil -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 06 March 2013 20:14 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... This is driving me crazy, how hard

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Steven Ogilvie
that doesn't work, :( Steve -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: March-06-13 4:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... I'd have to agree with Chris write a proper custom action

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Christopher Painter
...) From: Steven Ogilvie steven.ogil...@titus.com Sent: Wednesday, March 06, 2013 3:16 PM To: chr...@iswix.com chr...@iswix.com, General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Running PowerShell script... What is DTF, I googled

Re: [WiX-users] Running PowerShell script...

2013-03-06 Thread Neil Sleightholm
[mailto:steven.ogil...@titus.com] Sent: 06 March 2013 22:14 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Running PowerShell script... I did a custom action: [CustomAction] public static ActionResult InstallNServiceBusLicense(Session session) { try

[WiX-users] Running PowerShell script...

2013-03-05 Thread StevenOgilvie
Hi guys I have googled and done everything I think I should have done but I am getting a funky error in the MSI log file, has anyone else had this issue, if so how did you fix it? Install the Powershell file Component Id=cmp_RegisterNServiceBusLicense Guid={276C369D-BF32-472F-A7FC-24155DEB18DE}

Re: [WiX-users] Running PowerShell script...

2013-03-05 Thread Castro, Edwin G. (Hillsboro)
. Castro Software Developer - Staff Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Tuesday, March 05, 2013 2:14 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Running

Re: [WiX-users] Running PowerShell script...

2013-03-05 Thread StevenOgilvie
: 503-617-0291 www.fiserv.com -Original Message- From: StevenOgilvie [mailto:[hidden email] /user/SendEmail.jtp?type=nodenode=7584125i=0 ] Sent: Tuesday, March 05, 2013 2:14 PM To: [hidden email] /user/SendEmail.jtp?type=nodenode=7584125i=1 Subject: [WiX-users] Running