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

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

2013-03-06 Thread Christopher Painter
Custom Actions...) From: "Steven Ogilvie" Sent: Wednesday, March 06, 2013 3:16 PM To: "chr...@iswix.com" , "General discussion for Windows Installer XML toolset." Subject: RE: [WiX-users] Running PowerShell script... What is DTF, I googled it but I don't think

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

2013-03-06 Thread Steven Ogilvie
owershell script that just does an import-module and runs the cmdlet install-license 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: [W

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

2013-03-06 Thread Neil Sleightholm
version 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 har

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

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
gt; Sent: Wednesday, 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

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

2013-03-06 Thread Steven Ogilvie
] Sent: March-06-13 3:59 PM 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 wi

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

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
ll script via the CMD prompt, but within > WIX it is not working :( > > Steve > > -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 &

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

2013-03-06 Thread Steven Ogilvie
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 Why run PowerShell perio

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

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
Original 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

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

2013-03-06 Thread Christopher Painter
s -Command "& 'C:\Program Files\TITUS\TITUS Services\Common\RegisterLicense.ps1' ; exit $($Error.Count)" Did not register the license, open a CMD prompt enter the above text and the license has been placed into the registery Steve -----Original Message- From: C

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

2013-03-06 Thread Steven Ogilvie
runPowerShellProc.WaitForExit(); > } > } > > Directory.SetCurrentDirectory(currentFolder); > } > catch (Exception ex) > { > WriteErrorLogInstall(session,

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

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
Digital Channels Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com > -Original Message- > From: Steven Ogilvie [mailto:steven.ogil...@titus.com] > Sent: Wednesday, March 06, 2013 10:40 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [W

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

2013-03-06 Thread Steven Ogilvie
on, "InstallNServiceBusLicense failed: ", ex, true); } return ActionResult.Success; } -Original 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

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

2013-03-06 Thread Castro, Edwin G. (Hillsboro)
nesday, March 06, 2013 9:53 AM > 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 > > > > >

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

2013-03-06 Thread Steven Ogilvie
-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 have PowerShell v3 installed on your system. Check the value of the $PSVersionTable variable in PowerShell as that will give you detailed version

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 sc

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

2013-03-05 Thread StevenOgilvie
-0291 www.fiserv.com > -Original Message- > From: StevenOgilvie [mailto:[hidden email] > ] > Sent: Tuesday, March 05, 2013 2:14 PM > To: [hidden email] > Subject: [WiX-users] Running PowerShell script... > > Hi guys > > I have googled and done everythi

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

2013-03-05 Thread Castro, Edwin G. (Hillsboro)
the .NET 4 runtime. Edwin G. 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.sour

[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 Set the custom action CA: Installing NServiceBus