- Timestamp:
- Oct 13, 2010 7:29:41 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66616
- Location:
- trunk/src/VBox/Additions/WINNT/Installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditions.nsi
r32683 r33087 159 159 RequestExecutionLevel highest 160 160 161 Var g_iSystemMode ; Current system mode (0 = Normal boot, 1 = Fail-safe boot, 2 = Fail-safe with network boot) 162 Var g_strSystemDir ; Windows system directory 163 Var g_strCurUser ; Current user using the system 164 Var g_strAddVerMaj ; Installed Guest Additions: Major version 165 Var g_strAddVerMin ; Installed Guest Additions: Minor version 166 Var g_strAddVerBuild ; Installed Guest Additions: Build number 167 Var g_strAddVerRev ; Installed Guest Additions: SVN revision 168 Var g_strWinVersion ; Current Windows version we're running on 169 Var g_bLogEnable ; Do logging when installing? "true" or "false" 170 Var g_bFakeWHQL ; Cmd line: Fake Windows to install non WHQL certificated drivers (only for W2K and XP currently!!) ("/unsig_drv") 171 Var g_bForceInstall ; Cmd line: Force installation on unknown Windows OS version. 172 Var g_bUninstall ; Cmd line: Just uninstall any previous Guest Additions and exit 173 Var g_bRebootOnExit ; Cmd line: Auto-Reboot on successful installation. Good for unattended installations ("/reboot") 174 Var g_iScreenBpp ; Cmd line: Screen depth ("/depth=X") 175 Var g_iScreenX ; Cmd line: Screen resolution X ("/resx=X") 176 Var g_iScreenY ; Cmd line: Screen resolution Y ("/resy=Y") 177 Var g_iSfOrder ; Cmd line: Order of Shared Folders network provider (0=first, 1=second, ...) 178 Var g_bNoVideoDrv ; Cmd line: Do not install the VBoxVideo driver 179 Var g_bNoGuestDrv ; Cmd line: Do not install the VBoxGuest driver 180 Var g_bNoMouseDrv ; Cmd line: Do not install the VBoxMouse driver 181 Var g_bWithAutoLogon ; Cmd line: Install VBoxGINA / VBoxCredProv for auto logon support 182 Var g_bWithD3D ; Cmd line: Install Direct3D support 183 Var g_bWithWDDM ; Install the WDDM driver instead of the normal one 184 Var g_bOnlyExtract ; Cmd line: Only extract all files, do *not* install them. Only valid with param "/D" (target directory) 185 Var g_bCapWDDM ; Capability: Is the guest able to handle/use our WDDM driver? 161 Var g_iSystemMode ; Current system mode (0 = Normal boot, 1 = Fail-safe boot, 2 = Fail-safe with network boot) 162 Var g_strSystemDir ; Windows system directory 163 Var g_strCurUser ; Current user using the system 164 Var g_strAddVerMaj ; Installed Guest Additions: Major version 165 Var g_strAddVerMin ; Installed Guest Additions: Minor version 166 Var g_strAddVerBuild ; Installed Guest Additions: Build number 167 Var g_strAddVerRev ; Installed Guest Additions: SVN revision 168 Var g_strWinVersion ; Current Windows version we're running on 169 Var g_bLogEnable ; Do logging when installing? "true" or "false" 170 Var g_bFakeWHQL ; Cmd line: Fake Windows to install non WHQL certificated drivers (only for W2K and XP currently!!) ("/unsig_drv") 171 Var g_bForceInstall ; Cmd line: Force installation on unknown Windows OS version. 172 Var g_bUninstall ; Cmd line: Just uninstall any previous Guest Additions and exit 173 Var g_bRebootOnExit ; Cmd line: Auto-Reboot on successful installation. Good for unattended installations ("/reboot") 174 Var g_iScreenBpp ; Cmd line: Screen depth ("/depth=X") 175 Var g_iScreenX ; Cmd line: Screen resolution X ("/resx=X") 176 Var g_iScreenY ; Cmd line: Screen resolution Y ("/resy=Y") 177 Var g_iSfOrder ; Cmd line: Order of Shared Folders network provider (0=first, 1=second, ...) 178 Var g_bNoVBoxServiceExit ; Cmd line: Do not quit VBoxService before updating - install on next reboot 179 Var g_bNoVideoDrv ; Cmd line: Do not install the VBoxVideo driver 180 Var g_bNoGuestDrv ; Cmd line: Do not install the VBoxGuest driver 181 Var g_bNoMouseDrv ; Cmd line: Do not install the VBoxMouse driver 182 Var g_bWithAutoLogon ; Cmd line: Install VBoxGINA / VBoxCredProv for auto logon support 183 Var g_bWithD3D ; Cmd line: Install Direct3D support 184 Var g_bWithWDDM ; Install the WDDM driver instead of the normal one 185 Var g_bOnlyExtract ; Cmd line: Only extract all files, do *not* install them. Only valid with param "/D" (target directory) 186 Var g_bCapWDDM ; Capability: Is the guest able to handle/use our WDDM driver? 186 187 187 188 ; Platform parts of this installer … … 260 261 ${Case} '/logging' 261 262 StrCpy $g_bLogEnable "true" 262 ${Break}263 ${Break} 263 264 264 265 ${Case} '/ncrc' ; NSIS: /NCRC switch, skip 265 266 ${Break} 266 267 267 ${Case} '/no_videodrv' 268 ${Case} '/no_vboxservice_exit' ; Not officially documented 269 StrCpy $g_bNoVBoxServiceExit "true" 270 ${Break} 271 272 ${Case} '/no_videodrv' ; Not officially documented 268 273 StrCpy $g_bNoVideoDrv "true" 269 ${Break}270 271 ${Case} '/no_guestdrv' 274 ${Break} 275 276 ${Case} '/no_guestdrv' ; Not officially documented 272 277 StrCpy $g_bNoGuestDrv "true" 273 ${Break}274 275 ${Case} '/no_mousedrv' 278 ${Break} 279 280 ${Case} '/no_mousedrv' ; Not officially documented 276 281 StrCpy $g_bNoMouseDrv "true" 277 ${Break}282 ${Break} 278 283 279 284 ${Case} '/reboot' … … 321 326 322 327 ${Default} ; Unknown parameter, print usage message 328 ; Prevent popping up usage message on (yet) unknown parameters 329 ; in silent mode, just skip 330 IfSilent 0 +2 331 ${Break} 323 332 goto usage 324 333 ${Break} … … 970 979 StrCpy $g_iScreenBpp "0" 971 980 StrCpy $g_iSfOrder "0" 981 StrCpy $g_bNoVBoxServiceExit "false" 972 982 StrCpy $g_bNoVideoDrv "false" 973 983 StrCpy $g_bNoGuestDrv "false" -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsNT4.nsh
r31634 r33087 74 74 Function NT_Prepare 75 75 76 ; Stop / kill VBoxService 77 Call StopVBoxService 76 ${If} $g_bNoVBoxServiceExit == "false" 77 ; Stop / kill VBoxService 78 Call StopVBoxService 79 ${EndIf} 78 80 79 81 ; Stop / kill VBoxTray -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r32684 r33087 133 133 Function W2K_Prepare 134 134 135 ; Stop / kill VBoxService 136 Call StopVBoxService 135 ${If} $g_bNoVBoxServiceExit == "false" 136 ; Stop / kill VBoxService 137 Call StopVBoxService 138 ${EndIf} 137 139 138 140 ; Stop / kill VBoxTray
Note:
See TracChangeset
for help on using the changeset viewer.