Reputation: 228
I have the following snippet in my wix file. I need the working directory to be set, but it doesn't appear the ProgId supports this. The Shortcut element has a WorkingDirectory attribute, but it appears that ProgId doesn't support it. Is there another way to set the working directory?
<Component>
<File Source="program.exe" KeyPath="yes" />
<ProgId Id="Program" Description="Program" Icon="icon.ico" IconIndex="0" Advertise="yes">
<Extension Id="myfile" Advertise="yes">
<Verb Id="open" Command="&Open" Argument=""%1"" Sequence="1" />
</Extension>
</ProgId>
</Component>
Upvotes: 1
Views: 445
Reputation: 21886
No, because Windows Installer doesn't support it. Nor does Windows -- the handler must support running from any directory.
Upvotes: 3