diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-01-15 17:09:38 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-01-15 17:09:38 -0500 |
commit | f09a4ae224fab7ee4d412fe6c81d14e3b753b2c5 (patch) | |
tree | a68a870124b5bf62c983e5c14342c7bb87874a02 /src/msi | |
parent | 49ba8b03c4ebab4a28fa75cfb64694f84816b8ed (diff) | |
download | sok-f09a4ae224fab7ee4d412fe6c81d14e3b753b2c5.tar.bz2 sok-f09a4ae224fab7ee4d412fe6c81d14e3b753b2c5.zip |
msi: add program files shortcut, desktop shortcut, and icon
Diffstat (limited to 'src/msi')
-rw-r--r-- | src/msi/sok.wxs | 67 |
1 files changed, 62 insertions, 5 deletions
diff --git a/src/msi/sok.wxs b/src/msi/sok.wxs index 2a15cfa..be830d0 100644 --- a/src/msi/sok.wxs +++ b/src/msi/sok.wxs @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- +<!-- To build: wixl -o sok.msi \ -D BUILD_DIR=../../build-w64 \ @@ -17,6 +17,16 @@ GUIDs (wget -qO- https://www.uuidgenerator.net/api/guid/10): # 67058335-6a4e-4cf0-bc34-c8cc2e2e2578 # e9383c16-e1cb-432a-b8db-d799c8225c85 # 58de5bfd-4962-4fbc-a2e7-01da77bd050b +# 364e3bc9-53c8-465b-ae02-edf3e53b327c +0aca3163-98b4-4302-9dad-9dfaac254620 +3a68235a-03d2-4751-ab4a-1914a97792fc +10951342-4abb-4c51-b91c-94c8643f9c91 +57dc91da-cde4-4299-b5dc-b93bd563e9b1 +29055d07-9129-4b70-a9e8-b000e8d7c872 +adc88948-391e-48cf-8067-b002dcba4411 +912b4ea2-aefd-46d3-b494-d7527be0938a +0394899f-a5bb-458e-9b29-3d80f6083b5e +5ce91cfa-9397-4ecb-a719-e189c92d4dad --> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> @@ -33,7 +43,7 @@ GUIDs (wget -qO- https://www.uuidgenerator.net/api/guid/10): Id='*' Keywords='Installer' Description="Pablotron Sokoban installer." - Comments='Pablotron sokoban.' + Comments='Pablotron sokoban installer.' Manufacturer='Pablotron' InstallerVersion='100' Languages='1033' @@ -48,16 +58,42 @@ GUIDs (wget -qO- https://www.uuidgenerator.net/api/guid/10): DiskPrompt="CD-ROM #1" /> + <Icon + Id='sok.ico' + SourceFile='$(var.ASSETS_DIR)/sok.ico' + /> + <Property Id='DiskPrompt' Value="Pablotron Sokoban 1.0 Installation [1]" /> + <Property Id='ARPPRODUCTICON' Value='sok.ico' /> + <Directory Id='TARGETDIR' Name='SourceDir'> + <Directory Id='ProgramMenuFolder' Name='Programs'> + <Directory Id='ProgramMenuDir' Name='Pablotron Sokoban'> + <Component + Id='ProgramMenuDir' + Guid='364e3bc9-53c8-465b-ae02-edf3e53b327c' + > + <RemoveFolder Id='ProgramMenuDir' On='uninstall' /> + <RegistryValue + Root='HKCU' + Key='Software\[Manufacturer]\[ProductName]' + Type='string' + Value='' + KeyPath='yes' + /> + </Component> + </Directory> + </Directory> + + <Directory Id='DesktopFolder' Name='Desktop' /> + <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='Pablotron' Name='Pablotron'> - <Directory Id='INSTALLDIR' Name='Sokoban 1.0'> - + <Directory Id='INSTALLDIR' Name='Sokoban'> <Component Id='cmp-sok-exe' Guid='ca5c1c3c-4bb5-4123-b8ff-e1228e3457eb' @@ -68,7 +104,28 @@ GUIDs (wget -qO- https://www.uuidgenerator.net/api/guid/10): DiskId='1' Source='$(var.BUILD_DIR)/sok.exe' KeyPath='yes' - /> + > + <Shortcut + Id='shortcut-menu-sok-exe' + Directory='ProgramMenuDir' + Name='Sokoban' + WorkingDirectory='INSTALLDIR' + Icon='sok.ico' + IconIndex='0' + Advertise='yes' + /> + + <!-- really?? --> + <Shortcut + Id='shortcut-desktop-sok-exe' + Directory='DesktopFolder' + Name='Pablotron Sokoban' + WorkingDirectory='INSTALLDIR' + Icon='sok.ico' + IconIndex='0' + Advertise='yes' + /> + </File> </Component> <Component |