Add msi installer
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
||||
<Fragment>
|
||||
<ComponentGroup Id="ShortcutComponents">
|
||||
<Component Id="StartMenuFolderShortcut"
|
||||
Directory="StartMenuProgramsFolder"
|
||||
Guid="6101b33f-9bc8-4d44-aad0-0f3eddc840c6">
|
||||
<Shortcut Id="ApplicationStartMenuShortcut"
|
||||
Name="!(bind.Property.ProductName)"
|
||||
Description="!(bind.Property.ProductName)"
|
||||
Target="[INSTALLFOLDER]PamhagenSysCtrl.exe"
|
||||
WorkingDirectory="INSTALLFOLDER" />
|
||||
<RemoveFolder Id="StartMenuProgramsFolder" On="uninstall" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\!(bind.Property.Manufacturer)\!(bind.Property.ProductName)"
|
||||
Name="start_menu_installed"
|
||||
Type="integer"
|
||||
Value="1"
|
||||
KeyPath="yes" />
|
||||
</Component>
|
||||
|
||||
<Component Id="DesktopFolderShortcut"
|
||||
Directory="DesktopFolder"
|
||||
Guid="58b61147-4e5c-4581-8593-fc7bcb591048">
|
||||
<Shortcut Id="DesktopShortcut"
|
||||
Name="!(bind.Property.ProductName)"
|
||||
Description="!(bind.Property.ProductName)"
|
||||
Target="[INSTALLFOLDER]PamhagenSysCtrl.exe"
|
||||
WorkingDirectory="INSTALLFOLDER" />
|
||||
<RegistryValue Root="HKCU"
|
||||
Key="Software\!(bind.Property.Manufacturer)\!(bind.Property.ProductName)"
|
||||
Name="desktop_installed"
|
||||
Type="integer"
|
||||
Value="1"
|
||||
KeyPath="yes" />
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
</Fragment>
|
||||
</Wix>
|
||||
Reference in New Issue
Block a user