electron-userland / electron-wix-msi

:dvd: Create traditional MSI installers for your Electron app
MIT License
319 stars 93 forks source link

Modify Shortcut parameters #69

Open pjebs opened 4 years ago

pjebs commented 4 years ago

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 commented 4 years ago

Especially the Target