need help with minor problems
#1
Posted 25 June 2004 - 10:59 PM
well 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" /f
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p"-s /v\"/qn\""" /f
now 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 question
for 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 runonceex
REG ADD %KEY%\100 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Messenger\MsnMsgs.msi /QB" /f
REG ADD %KEY%\100 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Messenger\register.reg" /f
now 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 reboot
is there any way to get it to instal with out having this folder pop up after instillation
ive 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 appreciated
thanks
#2
Posted 26 June 2004 - 08:13 AM
AdobeReader6.exe -p"""-s /v\"""/qn\"""
question #2 the msgr prob...
wat if u use taskkill ? for syntax of it goto cmd type taskkill /?
regards
#4
Posted 26 June 2004 - 03:24 PM
how do you think i should type this up for my runonceex
REG ADD %KEY%\100 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Messenger\MsnMsgs.msi /QB" /f
REG ADD %KEY%\100 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Messenger\register.reg" /f
REG ADD %KEY%\100 /V 3 /D "%systemdrive%\install\pskill install\Applications\Messenger" /f
im not really sure how to go about this any ideals
#5
Posted 26 June 2004 - 08:19 PM
regards... taskkill may work better tho for what u want 2 do, 2 get the syntax just type taskkill /? in cmd
#6
Posted 26 June 2004 - 08:28 PM
C:\install\Applications\Messenger
i wonder how id kill a non process
#7
Posted 26 June 2004 - 08:42 PM
#9
Posted 26 June 2004 - 11:19 PM
again, taskkill /? will tell you how. (It's one of the options with the quotes)
#10
Posted 26 June 2004 - 11:24 PM
Quote
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p"-s /v\"/qn\""" /f
should most likely be this...
Quote
REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu.exe -p\"-s /v\"/qn\"\"" /f
Just 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.
#11
Posted 26 June 2004 - 11:39 PM
Quote
oops
regards
#12
Posted 26 June 2004 - 11:49 PM
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
\"
#13
Posted 27 June 2004 - 10:02 AM
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 need
TASKKILL /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 Messenger
TASKKILL /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" /f
REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Messenger Plus\MsgPlus-301.exe /SilentInstallNoSponsor" /f
REG ADD %KEY%\105 /V 2 /D "%systemdrive%\install\pskill msnmsgr.exe" /f
REG ADD %KEY%\105 /V 3 /D "%systemdrive%\install\pskill iexplore.exe" /f
TASKKILL /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
#14
Posted 27 June 2004 - 10:08 AM
RED ADD %KEY%\105 /V 4 /D "TASKKILL.EXE /F /FI \"WINDOWTITLE eq Messenger*\""
That should do it
You 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.
#15
Posted 27 June 2004 - 10:13 AM
#16
Posted 27 June 2004 - 01:11 PM
RED ADD %KEY%\105 /V 4 /D "TASKKILL.EXE /F /FI \"WINDOWTITLE eq Messenger*\"" /f
any ideals. im clueless i was hoping that would solve it
#17
Posted 27 June 2004 - 02:46 PM
Lost Soul, on Jun 27 2004, 10:11 PM, said:
Poor, Lost Soul!
Under batch method, no window pops up after installing MSN 6.2.
It's a problem with the quotes, I think. You may need to consult Aaron. He's expert in this.
#18
Posted 27 June 2004 - 03:11 PM
#19
Posted 28 June 2004 - 08:10 AM
REG ADD %KEY%\100 /VE /D "MSN Messenger 6.2" /f
REG ADD %KEY%\100 /V 1 /D "%systemdrive%\install\Applications\Messenger\batch.cmd" /f
REG ADD %KEY%\100 /V 2 /D "REGEDIT /S %systemdrive%\install\Applications\Messenger\register.reg" /f
REG ADD %KEY%\105 /VE /D "Messenger Plus 3" /f
REG ADD %KEY%\105 /V 1 /D "%systemdrive%\install\Applications\Messenger Plus\MsgPlus-301.exe /SilentInstallNoSponsor" /f
REG ADD %KEY%\105 /V 2 /D "%systemdrive%\install\pskill msnmsgr.exe" /f
REG ADD %KEY%\105 /V 3 /D "%systemdrive%\install\pskill iexplore.exe" /f
REG ADD %KEY%\110 /VE /D "Norton Systemworks 2003" /f
REG ADD %KEY%\110 /V 1 /D "%systemdrive%\install\Applications\norton\Setup.exe /qn Reboot=Suppress " /f
REG ADD %KEY%\115 /VE /D "Cleaning Up and Rebooting" /f
REG ADD %KEY%\115 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f
EXIT
if yall see any thing i could probably do to fix this folder poping up situation id be forever grateful..
i hope some body sees a way to help me fix my problem
thanks
#20
Posted 28 June 2004 - 08:14 AM
I have AIM and DeadAIM in my routine, and I install AIM, then start AIM....but while it's starting I install something else, THEN kill it later on to make sure it loads fully. Maybe you need to do the same thing?



Help


Back to top









