-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use MicaSetup to create .exe-type installer
Check out how it works here: https://github.com/lemutec/MicaSetup
- Loading branch information
Showing
6 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+23.9 KB
Build/Assets/Square44x44Logo.altform-unplated_targetsize-256.setup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+23.8 KB
Build/Assets/Square44x44Logo.altform-unplated_targetsize-256.uninst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"Template": "${MicaDir}/template/default.7z", | ||
"Package": "./QuickLook.7z", | ||
"Output": "./${AppName}.exe", | ||
"AppName": "QuickLook", | ||
"KeyName": "QuickLook", | ||
"ExeName": "QuickLook.exe", | ||
"Publisher": "QL-Win", | ||
"Version": "${Package}./${ExeName}|4", | ||
"TargetFramework": "net472", | ||
"Guid": "8B4A9CE5-67B5-4A94-81CB-3771F688FDEB", | ||
"Favicon": "./Assets/Square44x44Logo.altform-unplated_targetsize-256.png", | ||
"Icon": "./Assets/Square44x44Logo.altform-unplated_targetsize-256.setup.png", | ||
"UnIcon": "./Assets/Square44x44Logo.altform-unplated_targetsize-256.uninst.png", | ||
"LicenseFile": "../LICENSE-GPL.txt", | ||
"License": null, | ||
"LicenseType": null, | ||
"RequestExecutionLevel": "admin", | ||
"SingleInstanceMutex": null, | ||
"IsCreateDesktopShortcut": true, | ||
"IsCreateUninst": true, | ||
"IsCreateStartMenu": true, | ||
"IsPinToStartMenu": false, | ||
"IsCreateQuickLaunch": true, | ||
"IsCreateRegistryKeys": true, | ||
"IsCreateAsAutoRun": false, | ||
"IsCustomizeVisiableAutoRun": false, | ||
"AutoRunLaunchCommand": "/autostart", | ||
"IsUseFolderPickerPreferClassic": false, | ||
"IsUseInstallPathPreferX86": false, | ||
"IsUseRegistryPreferX86": null, | ||
"IsAllowFullFolderSecurity": true, | ||
"IsAllowFirewall": true, | ||
"IsRefreshExplorer": true, | ||
"IsInstallCertificate": false, | ||
"IsEnableUninstallDelayUntilReboot": true, | ||
"IsEnvironmentVariable": false, | ||
"OverlayInstallRemoveExt": "exe,dll,pdb,config,winmd,txt,bat,ax,manifest,xshd", | ||
"UnpackingPassword": null, | ||
"MessageOfPage1": null, | ||
"MessageOfPage2": null, | ||
"MessageOfPage3": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Set-Location ../Build | ||
|
||
Remove-Item .\QuickLook.7z -ErrorAction SilentlyContinue | ||
7z a QuickLook.7z .\Package\* -t7z -mx=5 -mf=BCJ2 -r -y | ||
makemica micasetup.json | ||
|
||
Write-Output "This file makes QuickLook portable." >> .\Package\portable.lock | ||
7z a QuickLook.7z .\Package\portable.lock -t7z -mx=5 -mf=BCJ2 -r -y | ||
|
||
$version = git describe --always --tags --exclude latest | ||
Remove-Item .\QuickLook-$version.7z -ErrorAction SilentlyContinue | ||
Rename-Item .\QuickLook.7z QuickLook-$version.7z | ||
Remove-Item .\QuickLook-$version.exe -ErrorAction SilentlyContinue | ||
Rename-Item .\QuickLook.exe QuickLook-$version.exe | ||
|
||
pause |