[wix-users] Running a powershell script as a custom action...

Joel Budreau joel.budreau at gmail.com
Thu Jul 13 18:39:33 PDT 2017


Our installers don't currently require/install .NET. So I'm hesitant to add
the full .NET redist to our installer just to run a C# custom action.
Unless there's something here that I'm missing...

On Thu, Jul 13, 2017 at 4:38 PM, Joseph L. Casale <jcasale at activenetwerx.com
> wrote:

> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Joel Budreau
> Sent: Thursday, July 13, 2017 5:00 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Subject: [wix-users] Running a powershell script as a custom action...
>
> > It appears that the unofficial/official way to detect if a program is
> > running inside of an Azure VM is to run this powershell script:
> > https://gallery.technet.microsoft.com/scriptcenter/Detect-Windows-Azure-
> > aed06d51
>
> Have you actually looked at the code in the script? Why not just author a
> native custom action in C#?
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list