Thanks. That's perfect. But just another question. Does it work on another language? Or just English versions?
Looks clean, lite and straight forward (how it should be). Is the boot process completely silent? Hence no additional text/messages displayed during boot. I have no need to try it for myself as I'm already modded, just wondering that's all.
Hi NoNonSence, Nice script, I guess this is the right method to detect system volume using non-high level programming language. BTW, there is a logical error in the script that will make it not work on machines with System Reserved unmounted partitions. In the following piece of code: Code: 'mount SystemVolume If isMounted = 0 Then For Each objVol in colVols If objVol.SystemVolume = True Then Wscript.Echo(" assigning letter " & TargetDrive & " to System Volume") objvol.DriveLetter = TargetDrive objVol.Put_ End If Exit For Next End If Exit For should be inside the body of the If statement. Otherwise, if the first volume is not the system volume, the loop will exit after the first iteration before looping through the remaining volumes. PS: It'd be better to start versioning your script to make it easy to track the changes. Regards, W0lfdale
Dumb question, will the VBS read arguments from the self extracting exe. Install.exe /INSTALL Install.exe /UNINSTALL so that people can use in vLite Builds (setupcomplete.cmd)
I dont think that any arguments will pass to the script from the exe look in run.bat to see how to call the install.vbs script. I think that if you put this in SetupComplete.cmd it will work you also might want to edit out all the Wscrip.Echo statements and the reboot dialog box if you want to run the script during install. cscript //NOLOGO //T:60 "%~dp0install.vbs" /install