home *** CD-ROM | disk | FTP | other *** search
INI File | 2008-10-11 | 1.6 KB | 47 lines |
- [Main]
- Title=Mount WIM files from source
- Type=script
- Level=10
- Description=
- Selected=False
- Download_Level=2
- Author=NightMan
- Download_Level=2
-
- [Process]
- ReadENV
- If,"%SourceType%",Equal,"",run,%ScriptFile%,NotConfigured
- If,"%SourceType%",Equal,"VistaCD",run,%ScriptFile%,MountVista
- If,"%SourceType%",Equal,"WAIK",run,%ScriptFile%,MountWAIK
-
- [MountVista]
- If,"%WimTools%",Equal,"ImageX",run,%ScriptFile%,MountVistaImageX
- If,"%WimTools%",Equal,"WimUtil",run,%ScriptFile%,MountVistaWimUtil
-
- [MountWAIK]
- If,"%WimTools%",Equal,"ImageX",run,%ScriptFile%,MountWAIKImageX
- If,"%WimTools%",Equal,"WimUtil",run,%ScriptFile%,MountWAIKWimUtil
-
- [MountWAIKWimUtil]
- Echo,"Mounting WAIK files with wimutil.exe..."
- ShellExecute,Hide,"#$q%tools%\wimutil.exe#$q","mount #$q%SDIR%\winpe.wim#$q #$q%BootSRC%#$q"
-
- [MountWAIKImageX]
- Echo,"Mounting WAIK files with imagex.exe..."
- ShellExecute,Hide,"#$q%IMAGEX%#$q","/mount #$q%SDIR%\winpe.wim#$q 1 #$q%BootSRC%#$q"
-
- [MountVistaWimUtil]
- Echo,"Mounting Windows Vista files with wimutil.exe..."
- ShellExecute,Hide,"#$q%tools%\wimutil.exe#$q","mount #$q%SDIR%\sources\boot.wim#$q #$q%BootSRC%#$q /2"
- ShellExecute,Hide,"#$q%tools%\wimutil.exe#$q","mount #$q%SDIR%\sources\install.wim#$q #$q%InstallSRC%#$q"
-
- [MountVistaImageX]
- Echo,"Mounting Windows Vista files with imagex.exe..."
- ShellExecute,Hide,"#$q%IMAGEX%#$q","/mount #$q%SDIR%\sources\boot.wim#$q 2 #$q%BootSRC%#$q"
- ShellExecute,Hide,"#$q%IMAGEX%#$q","/mount #$q%SDIR%\sources\install.wim#$q 1 #$q%InstallSRC%#$q"
-
- [NotConfigured]
- Message,"Please run PreConfig script. Exiting..."
- exit,"Exiting.."
-
-