Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify Shortcut parameters #69

Open
pjebs opened this issue Apr 19, 2020 · 1 comment
Open

Modify Shortcut parameters #69

pjebs opened this issue Apr 19, 2020 · 1 comment

Comments

@pjebs
Copy link

pjebs commented Apr 19, 2020

It would be very nice to be able to modify or reject this area of wxs file:

    <DirectoryRef Id="ApplicationProgramsFolder">
      <Component Id="ApplicationShortcut" Guid="e1f638e4-99af-4e28-bfc9-79b9c2e3d4f0" Win64='no'>
        <Shortcut Id="ApplicationStartMenuShortcut"
                  Name="the-great-app"
                  Description="theCucumber.app"
                  Target="[APPLICATIONROOTDIRECTORY]the-great-app.exe"
                  WorkingDirectory="APPLICATIONROOTDIRECTORY">
          <ShortcutProperty Key="System.AppUserModel.ID" Value="xxx" />
        </Shortcut>
        <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
        <RegistryValue Root="HKCU"
                       Key="Software\Microsoft\the-great-app"
                       Name="installed"
                       Type="integer"
                       Value="1"
                       KeyPath="yes"/>
      </Component>
    </DirectoryRef>
@pjebs
Copy link
Author

pjebs commented Apr 19, 2020

Especially the Target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant