[wix-users] Passing multiple parameters to the target file Argument attribute in ProgId

sampat magi ssmcs060 at gmail.com
Wed Feb 3 09:06:26 PST 2016


Use <set property > to set the multiple parameters, then use it here for
file name/path use [#fileid ]

Regards
Sam
On Feb 3, 2016 9:44 PM, "Shelly Horowitz" <shellyh at microsoft.com> wrote:

> Hi,
>
> I'm adding a file association in my installer using ProgId.
>
> I need to pass 2 arguments to the target file  (through Argument), see as
> follows:
>
> <ProgId Id="FileAssociation" Description="My file>
>
>    <Extension Id="myfile" ContentType="myfile">
>
>        <Verb Id="open" Command="Open" TargetProperty="MyApp.exe"
> Argument="'parameter1string' %1"/>
>
>    </Extension>
>
> </ProgId>
>
> The first parameter I want to pass is 'parameter1string'
> The second parameter is the name of the file.
>
> This is not working this way obviously,
> How do I do that?
>
> Any thought?
>
> -Shelly
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list