Thauzar Posted September 4, 2004 Share Posted September 4, 2004 I want to add the CHOICE command to my unattended install so it reads like this;CHOICE /C:YN /T:Y,60 Voulez-vous installer les logiciels de base;if errorlevel 2 goto cleanup ;if errorlevel 1 goto apps;goto appsNow it works in a real windows sp2 environment but when run during unattended installation, it does not install the apps. I tried getting around that adding the goto apps at the end in case he gets an errorlevel other than 1 or 2 but that did not make it. Anyone got a solution? And don't tell me to remove the ";", I added them to continue to test my installation cd... thanks in advance Link to comment Share on other sites More sharing options...
edg21 Posted September 4, 2004 Share Posted September 4, 2004 I want to add the CHOICE command to my unattended install so it reads like this;CHOICE /C:YN /T:Y,60 Voulez-vous installer les logiciels de base;if errorlevel 2 goto cleanup ;if errorlevel 1 goto apps;goto appsNow it works in a real windows sp2 environment but when run during unattended installation, it does not install the apps. I tried getting around that adding the goto apps at the end in case he gets an errorlevel other than 1 or 2 but that did not make it. Anyone got a solution? And don't tell me to remove the ";", I added them to continue to test my installation cd... thanks in advanceWhere on your cd is choice.com? Put it in $OEM$\$$\SYSTEM32, rebuild your ISO & try again. Link to comment Share on other sites More sharing options...
Thauzar Posted September 4, 2004 Author Share Posted September 4, 2004 I tried with the choice.com in that folder, and in the same folder as the batch file. in system32 windows tells me it can't run it for an unexplained reason, but when directly in the same folder as the batch file, it worked perfectly on my pc but not in virtual pc Link to comment Share on other sites More sharing options...
eagle00789 Posted September 4, 2004 Share Posted September 4, 2004 i see that at the begining of every line, you have a ; Remove that, and it will work Link to comment Share on other sites More sharing options...
Thauzar Posted September 5, 2004 Author Share Posted September 5, 2004 And don't tell me to remove the ";", I added them to continue to test my installation cd...Please take time to read before saying anything useless, i'm not that stupid. Read my entire post Link to comment Share on other sites More sharing options...
edg21 Posted September 5, 2004 Share Posted September 5, 2004 Putting CHOICE.COM in $OEM$\$$\system32 should work fine. Works in VMWARE & on a PC here. Perhaps try calling it by it's full path.%WINDIR%\system32\choice.com /C:YN /T:Y,60 Voulez-vous installer les logiciels de base???? Link to comment Share on other sites More sharing options...
Thauzar Posted September 5, 2004 Author Share Posted September 5, 2004 That did it! thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now