Jump to content

2 things dont get installed in my RunOnceEx.cmd


Recommended Posts

I have tested my Install now , and it works perfectly besides - Adobe Reader doesnt get installed, when windows have installed and coming to Welcome screen and start op for the first time it start to install various application as it should be BUT. The first 2 application i dont even try to install it go directly to the 3 software it shall install.

My runoncex.cmd file is looking like this, and i cant see any errors and it dont say any errors it just skip the first 2 of some reason that i dont know.

The code is here :

cmdow @ /HID
@Echo Off

rem PP=%SystemDrive%\install\programmer\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installere Programmer - Svends Unanttended XP 1.0" /f

REG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0" /f
REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\programmer\Adobe60\AdbeRdr60_dan_full.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\002 /VE /D "MSN Messenger 7.0 - Beta"
REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\Programmer\MSN_7.0_beta\MsnMsgs.msi /QB

REG ADD %KEY%\003 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\003 /V 1 /D "%systemDrive%\install\programmer\WMP10\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\004 /VE /D "Flash FXP 3.02"
REG ADD %KEY%\004 /V 1 /D "%systemDrive%\install\programmer\Flash_fxp\FlashFXP_30_Setup.exe /VERYSILENT /SP- /NORESTART" /f"

REG ADD %KEY%\005 /VE /D "Soulseek 1.55"
REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\programmer\SoulSeek\slsk155.exe" /qb

REG ADD %KEY%\006 /VE /D "Skype 1.0 - DK"
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\programmer\Skype\SkypeSetup.exe" /SILENT /SP-

REG ADD %KEY%\007 /VE /D "DU Meter 3.05"
REG ADD %KEY%\007 /V 1 /D "%systemdrive%\install\programmer\DU_Meter\DUMeter-Install.exe /VERYSILENT /SP-


rem PP=%SystemDrive%\install\software\

REG ADD %KEY%\010 /VE /D "Office 2003 DK - SP 1 integreret"
REG ADD %KEY%\010 /V 1 /D "%systemDrive%\install\software\Office2003\PRO11.msi /QB"

REG ADD %KEY%\015 /VE /D "Symantec Antivirus 9.0"
REG ADD %KEY%\015 /V 1 /D "%systemDrive%\install\software\SAV\Symantec_AntiVirus.msi /qn"

REG ADD %KEY%\020 /VE /D ".NET Framework 1.1 - DK"
REG ADD %KEY%\020 /V 1 /D "%systemDrive%\install\software\net_framework\dotnetfx.exe"

REG ADD %KEY%\021 /VE /D ".NET Framework 1.1 - DK - SP 1
REG ADD %KEY%\021 /V 1 /D "%systemDrive%\Install\software\net_framework\sp1\NDP1.1sp1-KB867460-X86.exe /Q

rem PP=%SystemDrive%\install\Tweaks_Til_Windows\

REG ADD %KEY%\040 /VE /D "Importer Svend Tweak 0.1 Alpha" /f
REG ADD %KEY%\040 /V 1 /D "REGEDIT /S %systemdrive%\install\Tweaks_Til_Windows\RegTweaks.reg" /f


rem PP=%SystemDrive%\install\Reg_Programmer\

REG ADD %KEY%\100 /VE /D "Registrer mIRC" /f
REG ADD %KEY%\100 /V 1 /D "REGEDIT /S %systemdrive%\install\Reg_Programmer\mirc.reg" /f

EXIT

I have got Messenger to be installed now the problem is only Adobe Reader ..

Link to comment
Share on other sites


ok short and sweet answer ok

what u need to do is find RyanVM look for this user

he has a link in his signature to a repacked adobe acrobat 7 and netframe work sp2

a fraction of the size, and u dont need to use switches.

go to applications switches forum look for my post

repacked media player 10 no switches needed as well i just posted

it 2 days ago. should be easy to find.

off the bat your office 2003 switch is wrong too

go to http://unattended.msfn.org to learn how to silently install office 2003

your also missing several end " quotes

look at your netframe work switch lots of mistakes.

i think u need to rewrite it again.

Link to comment
Share on other sites

ok short and sweet answer ok

what u need to do is find RyanVM look for this user

he has a link in his signature to a repacked adobe acrobat 7 and netframe work sp2

a fraction of the size, and u dont need to use switches.

go to applications switches forum look for my post

repacked media player 10 no switches needed as well i just posted

it 2 days ago. should be easy to find.

off the bat your office 2003 switch is wrong too

go to http://unattended.msfn.org to learn how to silently install office 2003

your also missing several end " quotes

look at your netframe work switch lots of mistakes.

i think u need to rewrite it again.

All of those programs you descriped are working .. i havent trouble installing them.

Its only Adobe Reader 6.0 there is the problem to be installed ..

It skip it at the installation .. but no error message at all ..

Office, NetFramework and etc are working and i cant use those programs that ryan have make anyway , because they are not in danish ..

And Adobe Reader 7.0 isnt in danish yet.

And i have sleepstream all the office pack long time ago. So its also with the lateste office 2003 SP 1 + Hotfixes.

Link to comment
Share on other sites

Your quotation marks are messed up. You should really check that there is one that starts the quote and one that ends it.

I have use the qoute RunOnceEx Creater use just for the english version .. there shouldnt be any diffrences .. its ONLY Adobe reader it doesnt installing. So please come with a example for it.

Link to comment
Share on other sites

if u say it works ... who am i to contradict u.

but it still wrong

Maybe it suppose to be wrong but it works .. so it couldnt be wrong, my problem isnt the file doesnt work still ..

The problem is Adobe Reader , and that was my question from start .. so please stick to topic :)

Link to comment
Share on other sites

Alternative?

When you install Acrobat. It extracts it's setup files in "%ProgramFiles%\Adobe\Acrobat 7.0\Setup Files\RdrMin". Maybe a different location for danish. But I would repack thost files into a archive, to extract and apply the switches to the msi installer. switch /qb (progress bar) or /qn.

Link to comment
Share on other sites

  • 9 months later...

Im really new to this but isnt there supposed to be a /f after each line?

REG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0" /f

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\programmer\Adobe60\AdbeRdr60_dan_full.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\002 /VE /D "MSN Messenger 7.0 - Beta"

REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\Programmer\MSN_7.0_beta\MsnMsgs.msi /QB

They seem to be missing from the end of the MSN Messenger links.

Link to comment
Share on other sites

  • 4 months later...

The first topic mentions Adobe Reader 6 not 7.

I am also having the same problem everything installs ok apart from Adobe Reader 6 not everyone wants the newest piece of software out etc.

If i find the answer I will let you know my friend.

If you found an answer to your problem let me know :-)

Link to comment
Share on other sites

From the suggested code I found on this site of

AdbeRdr60_enu_basic.exe -p"-s /v\"/qn\""

My suggestion for the command would be

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\programmer\Adobe60\AdbeRdr60_dan_full.exe -p\"-s /v\"/qn\"\"" /f
Link to comment
Share on other sites

for windows installer exe's i only use /s /v/qn or /s /v/qb

note that after /v you dont have to write a space.

also try to look if you can get an msi extracted to temp when you install version 6 as it happens with version 7. if you can get an msi just use /qn or /qb switches. also someone replied that you dont have /f at the end of some lines, check that too.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...