mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
Fixed Q-Dir not switching setup file if different source arch is selected. (Issue #144)
This commit is contained in:
@@ -35,8 +35,8 @@ Author=Homes32
|
|||||||
Level=5
|
Level=5
|
||||||
Selected=False
|
Selected=False
|
||||||
Mandatory=False
|
Mandatory=False
|
||||||
Version=1.1.1.0
|
Version=1.1.2.0
|
||||||
Date=2023-01-10
|
Date=2025-05-27
|
||||||
|
|
||||||
[Variables]
|
[Variables]
|
||||||
%ProgramFolder%="Q-Dir"
|
%ProgramFolder%="Q-Dir"
|
||||||
@@ -44,7 +44,7 @@ Date=2023-01-10
|
|||||||
%ProgramExex64%="Q-Dir_x64.exe"
|
%ProgramExex64%="Q-Dir_x64.exe"
|
||||||
%DownloadURLx86%=http://www.softwareok.com/Download/Q-Dir_Portable.zip
|
%DownloadURLx86%=http://www.softwareok.com/Download/Q-Dir_Portable.zip
|
||||||
%DownloadURLx64%=http://www.softwareok.com/Download/Q-Dir_Portable_x64.zip
|
%DownloadURLx64%=http://www.softwareok.com/Download/Q-Dir_Portable_x64.zip
|
||||||
%SetupFile%="Q-Dir.zip"
|
%SetupFile%="Q-Dir_%SourceArch%.zip"
|
||||||
%ConfigFile1%="Q-Dir.ini"
|
%ConfigFile1%="Q-Dir.ini"
|
||||||
%ConfigFile2%="start.qdr"
|
%ConfigFile2%="start.qdr"
|
||||||
|
|
||||||
@@ -73,7 +73,7 @@ RegLoadHives
|
|||||||
RegRead,HKLM,"Tmp_System\ControlSet001\Control\Session Manager\Environment","Path",%PathVar%
|
RegRead,HKLM,"Tmp_System\ControlSet001\Control\Session Manager\Environment","Path",%PathVar%
|
||||||
StrFormat,Replace,%PathVar%,"%PEPrograms%\%ProgramFolder%;","",%PathVar%
|
StrFormat,Replace,%PathVar%,"%PEPrograms%\%ProgramFolder%;","",%PathVar%
|
||||||
Set,%PathVar%,"%PEPrograms%\%ProgramFolder%;%PathVar%"
|
Set,%PathVar%,"%PEPrograms%\%ProgramFolder%;%PathVar%"
|
||||||
RegWrite,HKLM,0x2,"Tmp_System\ControlSet001\Control\Session Manager\Environment","Path",%PathVar%
|
RegWrite,HKLM,REG_EXPAND_SZ,"Tmp_System\ControlSet001\Control\Session Manager\Environment","Path",%PathVar%
|
||||||
RegUnloadHives
|
RegUnloadHives
|
||||||
|
|
||||||
FileCreateBlank,"%TargetPrograms%\%ProgramFolder%\%ConfigFile1%"
|
FileCreateBlank,"%TargetPrograms%\%ProgramFolder%\%ConfigFile1%"
|
||||||
|
Reference in New Issue
Block a user