Improve panel layout and per-user installer

This commit is contained in:
lenn
2026-07-02 13:38:00 +08:00
parent da77f2f194
commit 0a9fea0f0a
4 changed files with 1393 additions and 209 deletions

View File

@@ -74,7 +74,8 @@
InstallerVersion='450'
Languages='1033'
Compressed='yes'
InstallScope='perMachine'
InstallScope='perUser'
InstallPrivileges='limited'
SummaryCodepage='1252'
/>
@@ -86,7 +87,7 @@
<Property Id='DiskPrompt' Value='eskin-model-player Installation'/>
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
<Directory Id='LocalAppDataFolder'>
<Directory Id='APPLICATIONFOLDER' Name='eskin-model-player'>
<!--
@@ -110,7 +111,16 @@
-->
<Directory Id='Bin' Name='bin'>
<Component Id='Path' Guid='BAD34BAB-C54B-4967-880C-5A180533BD3F' KeyPath='yes'>
<Component Id='Path' Guid='FD230ABD-75B9-47D4-870B-CF2EA72B76BE'>
<RegistryValue
Root='HKCU'
Key='Software\JOYSONQUIN\eskin-model-player'
Name='PathComponent'
Type='integer'
Value='1'
KeyPath='yes'/>
<RemoveFolder Id='RemoveBinFolder' Directory='Bin' On='uninstall'/>
<RemoveFolder Id='RemoveApplicationFolder' Directory='APPLICATIONFOLDER' On='uninstall'/>
<Environment
Id='PATH'
Name='PATH'
@@ -118,15 +128,21 @@
Permanent='no'
Part='last'
Action='set'
System='yes'/>
System='no'/>
</Component>
<Component Id='binary0' Guid='*'>
<Component Id='binary0' Guid='302CAFB5-6951-426B-BC5A-988C351A2CF2'>
<RegistryValue
Root='HKCU'
Key='Software\JOYSONQUIN\eskin-model-player'
Name='BinaryComponent'
Type='integer'
Value='1'
KeyPath='yes'/>
<File
Id='exe0'
Name='ESkinPlayer.exe'
DiskId='1'
Source='$(var.CargoTargetBinDir)\ESkinPlayer.exe'
KeyPath='yes'/>
Source='$(var.CargoTargetBinDir)\ESkinPlayer.exe'/>
</Component>
</Directory>
</Directory>