-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50951f6
commit f9c34c6
Showing
2 changed files
with
78 additions
and
78 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
Name "iswitch" | ||
OutFile "installer.x32.exe" | ||
|
||
Page license | ||
LicenseData "LICENSE.txt" | ||
PageEx "license" | ||
LicenseData "PathEd.txt" | ||
PageExEnd | ||
Page instfiles | ||
UninstPage uninstConfirm | ||
UninstPage instfiles | ||
|
||
Section "main" | ||
SetOutPath "C:\Windows\System32\drivers\etc" | ||
File /oname=iswitch.exe "iswitch.i686.exe" | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\internal.config | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\external.config | ||
SetOutPath "$PROGRAMFILES\iswitch" | ||
File "iswitch.bat" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES\iswitch\PathEd.exe add "$PROGRAMFILES\iswitch\\"' | ||
Delete "$PROGRAMFILES\iswitch\PathEd.exe" | ||
WriteUninstaller "$PROGRAMFILES\iswitch\uninstall.exe" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayName" "iswitch (32-bit)" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayVersion" "1.1.0" | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoModify" 0x00000001 | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoRepair" 0x00000001 | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "UninstallString" "$PROGRAMFILES\iswitch\uninstall.exe" | ||
SectionEnd | ||
|
||
Section "un.main" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES\iswitch\PathEd.exe remove "$PROGRAMFILES\iswitch\\"' | ||
Delete "$PROGRAMFILES\iswitch\PathEd.exe" | ||
Delete "$PROGRAMFILES\iswitch\iswitch.bat" | ||
RMDir /r /REBOOTOK "$PROGRAMFILES\iswitch" | ||
Delete "C:\Windows\System32\drivers\etc\iswitch.exe" | ||
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" | ||
SectionEnd | ||
Name "iswitch" | ||
OutFile "installer.x32.exe" | ||
|
||
Page license | ||
LicenseData "LICENSE.txt" | ||
PageEx "license" | ||
LicenseData "PathEd.txt" | ||
PageExEnd | ||
Page instfiles | ||
UninstPage uninstConfirm | ||
UninstPage instfiles | ||
|
||
Section "main" | ||
SetOutPath "C:\Windows\System32\drivers\etc" | ||
File /oname=iswitch.exe "iswitch.i686.exe" | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\internal.config | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\external.config | ||
SetOutPath "$PROGRAMFILES\iswitch" | ||
File "iswitch.bat" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES\iswitch\PathEd.exe add "$PROGRAMFILES\iswitch\\"' | ||
Delete "$PROGRAMFILES\iswitch\PathEd.exe" | ||
WriteUninstaller "$PROGRAMFILES\iswitch\uninstall.exe" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayName" "iswitch (32-bit)" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayVersion" "1.1.0" | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoModify" 0x00000001 | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoRepair" 0x00000001 | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "UninstallString" "$PROGRAMFILES\iswitch\uninstall.exe" | ||
SectionEnd | ||
|
||
Section "un.main" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES\iswitch\PathEd.exe remove "$PROGRAMFILES\iswitch\\"' | ||
Delete "$PROGRAMFILES\iswitch\PathEd.exe" | ||
Delete "$PROGRAMFILES\iswitch\iswitch.bat" | ||
RMDir /r /REBOOTOK "$PROGRAMFILES\iswitch" | ||
Delete "C:\Windows\System32\drivers\etc\iswitch.exe" | ||
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" | ||
SectionEnd |
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 |
---|---|---|
@@ -1,39 +1,39 @@ | ||
Name "iswitch" | ||
OutFile "installer.x64.exe" | ||
|
||
Page license | ||
LicenseData "LICENSE.txt" | ||
PageEx "license" | ||
LicenseData "PathEd.txt" | ||
PageExEnd | ||
Page instfiles | ||
UninstPage uninstConfirm | ||
UninstPage instfiles | ||
|
||
Section "main" | ||
SetOutPath "C:\Windows\System32\drivers\etc" | ||
File /oname=iswitch.exe "iswitch.x86_64.exe" | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\internal.config | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\external.config | ||
SetOutPath "$PROGRAMFILES64\iswitch" | ||
File "iswitch.bat" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES64\iswitch\PathEd.exe add "$PROGRAMFILES64\iswitch\\"' | ||
Delete "$PROGRAMFILES64\iswitch\PathEd.exe" | ||
WriteUninstaller "$PROGRAMFILES64\iswitch\uninstall.exe" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayName" "iswitch (64-bit)" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayVersion" "1.1.0" | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoModify" 0x00000001 | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoRepair" 0x00000001 | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "UninstallString" "$PROGRAMFILES64\iswitch\uninstall.exe" | ||
SectionEnd | ||
|
||
Section "un.main" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES64\iswitch\PathEd.exe remove "$PROGRAMFILES64\iswitch\\"' | ||
Delete "$PROGRAMFILES64\iswitch\PathEd.exe" | ||
Delete "$PROGRAMFILES64\iswitch\iswitch.bat" | ||
RMDir /r /REBOOTOK "$PROGRAMFILES64\iswitch" | ||
Delete "C:\Windows\System32\drivers\etc\iswitch.exe" | ||
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" | ||
SectionEnd | ||
Name "iswitch" | ||
OutFile "installer.x64.exe" | ||
|
||
Page license | ||
LicenseData "LICENSE.txt" | ||
PageEx "license" | ||
LicenseData "PathEd.txt" | ||
PageExEnd | ||
Page instfiles | ||
UninstPage uninstConfirm | ||
UninstPage instfiles | ||
|
||
Section "main" | ||
SetOutPath "C:\Windows\System32\drivers\etc" | ||
File /oname=iswitch.exe "iswitch.x86_64.exe" | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\internal.config | ||
CopyFiles C:\Windows\System32\drivers\etc\hosts C:\Windows\System32\drivers\etc\external.config | ||
SetOutPath "$PROGRAMFILES64\iswitch" | ||
File "iswitch.bat" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES64\iswitch\PathEd.exe add "$PROGRAMFILES64\iswitch\\"' | ||
Delete "$PROGRAMFILES64\iswitch\PathEd.exe" | ||
WriteUninstaller "$PROGRAMFILES64\iswitch\uninstall.exe" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayName" "iswitch (64-bit)" | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "DisplayVersion" "1.1.0" | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoModify" 0x00000001 | ||
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "NoRepair" 0x00000001 | ||
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" "UninstallString" "$PROGRAMFILES64\iswitch\uninstall.exe" | ||
SectionEnd | ||
|
||
Section "un.main" | ||
File "PathEd.exe" | ||
ExecWait '$PROGRAMFILES64\iswitch\PathEd.exe remove "$PROGRAMFILES64\iswitch\\"' | ||
Delete "$PROGRAMFILES64\iswitch\PathEd.exe" | ||
Delete "$PROGRAMFILES64\iswitch\iswitch.bat" | ||
RMDir /r /REBOOTOK "$PROGRAMFILES64\iswitch" | ||
Delete "C:\Windows\System32\drivers\etc\iswitch.exe" | ||
DeleteRegKey HKEY_LOCAL_MACHINE "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\iswitch" | ||
SectionEnd |