Jump to content

errors in Runonceexprocess


Recommended Posts

here is my runonce registry file , i chose this route because it seemed simple..

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]


; Application # 1: Windows Messaging for Groupwise
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]  
"1"="m:\\GRPWISE\\CLIENT\\Win32\\WMS\\2000_XP\\ntwms.exe"  
@="Installing WMS, Please click Yes"


; Application # 2: Rumba 2000
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]  
"1"="m:\\Rumba 2000\\msiexec /i rumba.msi /QB-"  
@="Netmanage Rumba 2000"


; Application # 3: Symantec Antivirus Client 8.1
; ------------------------------------------------
;
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]  
;"1"="m:\\SAV_SL\\KX-Symantec Antivirus Client.msi"  
;@="Symantec Antivirus Client 8.1"


; Application # 4: Adobe Reader 6.0
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]  
"1"="m:\\acrobat\\msiexec /qb- /i Adobe Reader 6.0.msi"  
@="Adobe Reader 6.0"


; Application # 5: IBM iSeries Access
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150]  
"1"="m:\\IBM iSeries\\setup.exe -s"  
@="IBM iSeries Access"


; Application # 6: Citrix 6.31
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]  
"1"="m:\\citrix\\client6.31\\ica32\\disk1\\setup -s -f1sl.iss"
@="Citrix Client Access 6.31"


; Application # 7: MS Office 2003 minus Outlook
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz170]  
"1"="m:\\office 2003\\SETUPPRO.EXE TRANSFORMS=BBCTEST.MST /qb+"
@="Microsoft Office 2003 Pro"


; Application # 8: Groupwise 5.5
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz180]  
"1"="m:\\grpwise\\client\\win32\\setup.exe"
@="Microsoft Office 2003 Pro"

some of the applications work fine, some just skip over..

this is what happens..

Windows Messaging install starts, finishes then goes on to the next app, Rumba 2000, this one skips, as does Symantec (even when i uncomment it out) , the only 2 programs that it doesnt rush thru and skip is Office 2003 and groupwise

i know there are issues with using arguments in the registry, but i became a little confused after reading the RunOnceEx page on unattended.msfn.org

it states "

You will find that if you add additional " " quotation marks in the REG ADD entries, it won't be imported to the Windows Registry. To work around this, use a backslash \" for every quotation you intend to add, for example:

%KEY%\005 /V 1 /D "\"%systemdrive%\install\AdobeReader6\Adobe Reader 6.msi\" /qn" /f

By doing this, you can execute applications that contain spaces in the filename, or application switches that need to be enclosed in quotations.

I tried this on acrobat but it skipped thru it as well

any help would be great!

thanks

Link to comment
Share on other sites


Here's what you do. Run the .cmd file or whatever you're using to import the runonceex settings. Then fire up regedit.exe and go to HKLM\software\MS\windows\Currentversion\runonceex. Make sure each command is correct. Then run rundll32.exe iernonce.dll,RunOnceExProcess, and see if everything installs. If something doesn't work, then edit your .cmd file, it's a bad syntax. If everything works, then make sure youre running the .cmd file as an admin user.

-gosh

Link to comment
Share on other sites

"1"="m:\\Rumba 2000\\msiexec /i rumba.msi /QB-"

should be

"1"="msiexec.exe /i m:\\Rumba 2000\\rumba.msi /QB-"  

and the same with the other MSI's.

the installshield ones, like Logitech and the ISS files.

"1"="m:\\citrix\\client6.31\\ica32\\disk1\\setup -s -f1sl.iss"

should be

"1"="m:\\citrix\\client6.31\\ica32\\disk1\\setup -s -f1\"(PATHTO ISS FILE)\sl.iss"

the logitech one probally needs an ISS file created for it.

Link to comment
Share on other sites

ok here is the new one...

Windows Registry Editor Version 5.00

;Bush Brother and Company
;------------------------
;This registry key contains all of the standard load of applications
;for BBC computers. This registry key will add an entry to the registry
;that will run each application one at a time and never again.
;this key is called from policy.bat
;
;

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]


; Application # 1: Windows Messaging for Groupwise
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz110]  
"1"="h:\\GRPWISE\\CLIENT\\Win32\\WMS\\2000_XP\\ntwms.exe"  
@="Installing WMS, Please click Yes"


; Application # 2: Rumba 2000
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz120]  
"1"="msiexec /i h:\\Rumba2000\\rumba.msi /QB-!"  
@="Netmanage Rumba 2000"


; Application # 3: Symantec Antivirus Client 8.1
; ------------------------------------------------
;
;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz130]  
;"1"="msiexec /i h:\\SAV_SL\\KX-Symantec Antivirus Client.msi /QB-!"  
;@="Symantec Antivirus Client 8.1"


; Application # 4: Adobe Reader 6.0
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz140]  
"1"="msiexec /i h:\\AdobeReader6\\Ar6.msi /QB-!"  
@="Adobe Reader 6.0"


; Application # 5: IBM iSeries Access
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz150]  
"1"="h:\\IBMiSeries\\setup.exe -s"  
@="IBM iSeries Access"


; Application # 6: Citrix 6.31
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz160]  
"1"="h:\\citrixclient\\disk1\\setup -s -f1\"citrixclient\disk1\sl.iss"
@="Citrix Client Access 6.31"


; Application # 7: MS Office 2003 minus Outlook
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz170]  
"1"="h:\\office2003\\SETUPPRO.EXE TRANSFORMS=BBCTEST.MST /QB-!"
@="Microsoft Office 2003 Pro"


; Application # 8: Groupwise 5.5
; ------------------------------------------------
;
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\zz180]  
"1"="h:\\grpwise\\client\\win32\\setup.exe"
@="Groupwise 5.5"

Reader 6.0 gives me an incoorect command line, i havent tried that command manually yet

citrix fails, it just skips over it, do i have the context correct?

and the rest works perfectly

THANKS!

Edit: I fixed the acrobat issue, i downloaded the latest citrix client and it has an msi, i can use its silent install, but i need to change some settings,

regardless, you guys have helped alot

thanks!

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...