[wix-users] Wixtoolset issue #5421 - Update WixShellExec custom action to allow parameters

Russell Haley russ.haley at gmail.com
Wed Feb 7 22:51:06 PST 2018


Weird. Worked fine from the Gui. Shrug.

Russ

On Wed, Feb 7, 2018 at 10:46 PM, Russell Haley <russ.haley at gmail.com> wrote:
> On Tue, Feb 6, 2018 at 11:18 PM, Nir Bar via wix-users
> <wix-users at lists.wixtoolset.org> wrote:
>> You can use my open source PanelSwWixExtension.
>> It has ShellExecute element where you can pass target, arguments, verb, work folder and other attributes.
>>
>> Take from nuget- https://www.nuget.org/packages/PanelSwWixExtension/
>> Or build from source and contribute on GitHub- https://github.com/nirbar/PanelSwWixExtension
>
> Hi, this was the output from Nuget on the command line (Not sure if it
> succeeded):
>
> PM> Install-Package PanelSwWixExtension -Version 1.1.23
>
>
> Attempting to gather dependency information for package
> 'PanelSwWixExtension.1.1.23' with respect to project 'WinLua
> Installer', targeting 'Unsupported,Version=v0.0'
> Gathering dependency information took 382.25 ms
> Attempting to resolve dependencies for package
> 'PanelSwWixExtension.1.1.23' with DependencyBehavior 'Lowest'
> Resolving dependency information took 0 ms
> Resolving actions to install package 'PanelSwWixExtension.1.1.23'
> Resolved actions to install package 'PanelSwWixExtension.1.1.23'
> Retrieving package 'PanelSwWixExtension 1.1.23' from 'nuget.org'.
> Adding package 'PanelSwWixExtension.1.1.23' to folder
> 'C:\Users\russh\Git\WinLua-VS2017\Visual Studio\5.3\packages'
> Added package 'PanelSwWixExtension.1.1.23' to folder
> 'C:\Users\russh\Git\WinLua-VS2017\Visual Studio\5.3\packages'
> Added package 'PanelSwWixExtension.1.1.23' to 'packages.config'
> Executing script file 'C:\Users\russh\Git\WinLua-VS2017\Visual
> Studio\5.3\packages\PanelSwWixExtension.1.1.23\tools\Install.ps1'
> You cannot call a method on a null-valued expression.
> At C:\Users\russh\Git\WinLua-VS2017\Visual
> Studio\5.3\packages\PanelSwWixExtension.1.1.23\tools\Install.ps1:12
> char:1
> + $dummy = $project.ProjectItems.Item("PanelSwWixExtension.DummyFile.tx ...
> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
>     + FullyQualifiedErrorId : InvokeMethodOnNull
>
> Successfully installed 'PanelSwWixExtension 1.1.23' to WinLua Installer
> Executing nuget actions took 450.73 ms
> Time Elapsed: 00:00:00.8471295
>
> Cheers,
>
> Russ
>>
>>
>>
>>
>> --
>> Nir Bar, Independent WiX Expert. Creator of-
>> JetBA: WiX WPF Bootstrapper User Interface Framework
>>
>> JetBA++: WiX Native Bootstrapper User Interface Framework
>>
>>
>>
>>
>>
>> ____________________________________________________________________
>> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list