Lost Soul Posted June 26, 2004 Share Posted June 26, 2004 hi i got a few minor questions about installing my basic adobe reader 6 and my msn 6.2well to start off im running installing my adobe reader through the runonceex by calling it out to a batch file. now the reason im doing that is because im not very sure about how this syntax is supposed to go in since it would make it having 3 quotes in a row, ive tried it but it dont work, it wont instal with the 3 quotes and what i mean is well the syntax for it is like this AdbeRdr60_enu.exe -p"-s /v\"/qn\"" but when put into the runonceex it looks like this REG ADD %KEY%\040 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p"-s /v\"/qn\""" /fnow that obviously isnt working for the instal, so what should i do for that because im not sure what to do with that given that type of syntax.now for my second questionfor installing msn 6.2 through the runonceex ive extract SETUPDL.EXE to this folder: C:\XPCD\$OEM$\$1\install\Messenger\ having in there now bootstrap and MsnMsgs.msi files now this is the way ive got it written in my runonceexREG ADD %KEY%\100 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Messenger\MsnMsgs.msi /QB" /fREG ADD %KEY%\100 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Messenger\register.reg" /fnow my question why is it that after it instals the messenger it goes straight into the C:\XPCD\$OEM$\$1\install\Messenger\ folder and shows the contents of that folder until its time to rebootis there any way to get it to instal with out having this folder pop up after instillationive tried it with out extracting the files with the lower case syntax like this /qb but that wouldnt instal.is there any thing i can do to resolve these minor problems, any help would be appreciatedthanks Link to comment Share on other sites More sharing options...
MCT Posted June 26, 2004 Share Posted June 26, 2004 question #1, the adobe prob.. the following works for meAdobeReader6.exe -p"""-s /v\"""/qn\"""question #2 the msgr prob...wat if u use taskkill ? for syntax of it goto cmd type taskkill /?regards Link to comment Share on other sites More sharing options...
MCT Posted June 26, 2004 Share Posted June 26, 2004 also try the /qn switch ?regards Link to comment Share on other sites More sharing options...
Lost Soul Posted June 26, 2004 Author Share Posted June 26, 2004 im not sure how to use a kill command to close a folder right now all i know is this folder that pops up right after msn 6.2 is installed C:\install\Applications\Messenger really is aggrivating how do you think i should type this up for my runonceexREG ADD %KEY%\100 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Messenger\MsnMsgs.msi /QB" /fREG ADD %KEY%\100 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Messenger\register.reg" /fREG ADD %KEY%\100 /V 3 /D "%systemdrive%\install\pskill install\Applications\Messenger" /fim not really sure how to go about this any ideals Link to comment Share on other sites More sharing options...
MCT Posted June 27, 2004 Share Posted June 27, 2004 REG ADD %KEY%\100 /V 3 /D "%systemdrive%\install\pskill.exe (process name)regards... taskkill may work better tho for what u want 2 do, 2 get the syntax just type taskkill /? in cmd Link to comment Share on other sites More sharing options...
Lost Soul Posted June 27, 2004 Author Share Posted June 27, 2004 i dont think believe there is a process that i can kill knowing that its just a folder thats popping up for some reasonC:\install\Applications\Messenger i wonder how id kill a non process Link to comment Share on other sites More sharing options...
MCT Posted June 27, 2004 Share Posted June 27, 2004 if a folder is popping up, then thats a process, its explorer.. u may have 2 kill & reenable explorer Link to comment Share on other sites More sharing options...
Lost Soul Posted June 27, 2004 Author Share Posted June 27, 2004 your right, im gonna try that now thanks Link to comment Share on other sites More sharing options...
Alanoll Posted June 27, 2004 Share Posted June 27, 2004 there is an option of taskkill to select which part of the process is killed, like a specific folder in explorer.exe instead of killing the entire shell.again, taskkill /? will tell you how. (It's one of the options with the quotes) Link to comment Share on other sites More sharing options...
Alanoll Posted June 27, 2004 Share Posted June 27, 2004 REG ADD %KEY%\040 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p"-s /v\"/qn\""" /fThe way MCT has it, is for an INF file not BATCH.should most likely be this...REG ADD %KEY%\040 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p\"-s /v\"/qn\"\"" /fJust put it in a seperate batch file, execute it, and then OPEN up regedit. See if it retained the quotes properly. You can safely delete the key after looking so you don't get the RunOnceEX screen upon restart. Link to comment Share on other sites More sharing options...
MCT Posted June 27, 2004 Share Posted June 27, 2004 The way MCT has it, is for an INF file not BATCH.oops regards Link to comment Share on other sites More sharing options...
prathapml Posted June 27, 2004 Share Posted June 27, 2004 It's as Alanoll says.Basically, all you need to do about the runonceex is that for every appearance of an inverted commas, replace it with a slash and THEN an inverted commas - so your syntax will be proper. This is mentioned in the official MSFN guide as well.In other words, " becomes \" Link to comment Share on other sites More sharing options...
Lost Soul Posted June 27, 2004 Author Share Posted June 27, 2004 thank you alanoll youve solved my adobe reader problem and your right about using pskill to kill eploerer thats killing the whole shell and there for dishing out problems to any thing else after that im still having problems trying to kill that one folder window C:\install\Applications\Messenger i know i need to use taskkill to close out that window but im having alittle trouble working that out i found this example of the switch that i believe i needTASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*"now this is what ive done and no it didnt work so obviously ive done it wrong i replaced the "WINDOWTITLE ne untitle*" with the name of the window screen that needed to be closed which is titled MessengerTASKKILL /F /FI "PID ge 1000" /FI "Messenger*"then i added it to my runonceex like this REG ADD %KEY%\105 /VE /D "Messenger Plus 3" /fREG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Messenger Plus\MsgPlus-301.exe /SilentInstallNoSponsor" /fREG ADD %KEY%\105 /V 2 /D "%systemdrive%\install\pskill msnmsgr.exe" /fREG ADD %KEY%\105 /V 3 /D "%systemdrive%\install\pskill iexplore.exe" /fTASKKILL /F /FI "PID ge 1000" /FI "Messenger*"the reason i added it to the messenger plus 3 one is because thats when that window is poping up, im really not very sure on how to add the taskkill to the runonceex and im definatly having trouble on getting the switches right for closing out this window.any ideals ? can any one help me out on this ?thanks Link to comment Share on other sites More sharing options...
Alanoll Posted June 27, 2004 Share Posted June 27, 2004 RED ADD %KEY%\105 /V 4 /D "TASKKILL.EXE /F /FI \"WINDOWTITLE eq Messenger*\""That should do itYou do add it to your REG ADD entries or it doesn't run when it's supposed, but rather when the keys are imported but not executed. Link to comment Share on other sites More sharing options...
Lost Soul Posted June 27, 2004 Author Share Posted June 27, 2004 thanks alanoll ill give thata shot now i appreciate your quick response on helping me 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