Skip to content

Commit

Permalink
Upgrade Installer Files with Critical Issue Related to User Data and …
Browse files Browse the repository at this point in the history
…Added Entries to Gitignore
  • Loading branch information
CarJem committed Nov 26, 2019
1 parent 4abf0cd commit 304e2d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ ASALocalRun/
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/
/Installer/Setup.exe
/Installer/Setup.exe
/Installer/Output/
10 changes: 5 additions & 5 deletions Installer/Sonic 3 A.I.R. Mod Manager.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
!define VERSION "0.1.4.1"
!define COPYRIGHT "CarJem Generations © 2019"
!define DESCRIPTION "Mod Manager for Sonic 3 A.I.R. - Angel Island Revisited"
!define INSTALLER_NAME "D:\Users\CarJem\source\sonic3air_repos\Sonic3AIR_ModManager\Installer\Setup.exe"
!define INSTALLER_NAME "D:\Users\CarJem\source\sonic3air_repos\Sonic3AIR_ModManager\Installer\Output\Setup.exe"
!define INSTALLER_DIR "D:\Users\CarJem\source\sonic3air_repos\Sonic3AIR_ModManager\Installer\"
!define MAIN_APP_EXE "Sonic 3 A.I.R Mod Manager.exe"
!define INSTALL_TYPE "SetShellVarContext current"
Expand Down Expand Up @@ -171,7 +171,7 @@ Section "Components"

ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 2" "State"
DetailPrint "${TEMP1}"
ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 2" "State"
ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 3" "State"
DetailPrint "${TEMP1}"

SectionEnd
Expand All @@ -188,14 +188,14 @@ FunctionEnd

Function un.GetUserOptions

Goto CheckMM
Goto CheckMM

CheckAIR:
ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 2" "State"
ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 3" "State"
StrCmp ${TEMP1} 1 AIRSuccess AIRFail

CheckMM:
ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 3" "State"
ReadINIStr ${TEMP1} "${UNINSTALLER_OPTIONS_NAME}" "Field 2" "State"
StrCmp ${TEMP1} 1 MMSuccess MMFail

MMFail:
Expand Down

0 comments on commit 304e2d3

Please sign in to comment.