DjWhizZ Posted May 16, 2006 Share Posted May 16, 2006 (edited) hi, i'm new here.. and i need some help cause i can't get this thing to work:P so please help This is my RunOnceEx:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Mozilla Firefox" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Firefox.exe -ms /SilentInstall /fREG ADD %KEY%\002 /VE /D "Daemontools 4.0.3" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\install\daemon403.exe /qn /Reboot=Suppress /fREG ADD %KEY%\003 /VE /D "MSN Messenger" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\install\Messenger.exe /qn /SilentInstall /fREG ADD %KEY%\004 /VE /D "MSN Messenger Plus!" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\install\MsgPlus.exe /SilentInstallNoSponsor /fREG ADD %KEY%\005 /VE /D "ZoneAlarm" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\zaSuiteSetup.exe /s /i /noreboot /lickey <whoops>REGEDIT %KEY%\005 /S "%systemdrive%\install\zonealarm.reg%systemdrive%\install\config.xml" /fEXITi know it's wrong.. but can someone fix it for me? would be great Edited May 16, 2006 by DjWhizZ Link to comment Share on other sites More sharing options...
oioldman Posted May 16, 2006 Share Posted May 16, 2006 How do you know it's wrong?Does it load the keys into the registry?Do any of the applications install?Do the files get copied to to the install folder, which contains all files so you may want to put each application inside it's own folder, makes life easierThis is very wrong REG ADD %KEY%\005 /VE /D "ZoneAlarm" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\zaSuiteSetup.exe /s /i /noreboot /lickey <key removed as per rules>REGEDIT %KEY%\005 /S "%systemdrive%\install\zonealarm.reg%systemdrive%\install\config.xml" /f should be REG ADD %KEY%\005 /VE /D "ZoneAlarm" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\zaSuiteSetup.exe /s /i /noreboot /lickey <key removed as per rules>REG ADD %KEY%\005 /V 2 /D regedit /S "%systemdrive%\install\zonealarm.reg %systemdrive%\install\config.xml" /fYou could place a pause at the end so you can see what happens or even after each line.Remove your serial key please for nero.Do you know those are the correct switches to install your desired applications correctly? do a search to clarifytry this site: http://unattended.msfn.org for further guidance Link to comment Share on other sites More sharing options...
DjWhizZ Posted May 16, 2006 Author Share Posted May 16, 2006 (edited) I'm testing right now on a virtual pc machine so i can let you see whats wrong, caus it load the keys.. but it's not installing silent.. you need to press next and stuff.. and i think it was msn plus thats not installing.. but i will make a screen capture of it Edited May 16, 2006 by DjWhizZ Link to comment Share on other sites More sharing options...
DjWhizZ Posted May 16, 2006 Author Share Posted May 16, 2006 Here you got the first error, but i think thats the error of Zonealarm.. diddn't fix that yet [Pic1]As you see in the pic below, daemon tools is not installing silently..[Pic2]And then when i cancel daemontools.. he gave an error by msn..[Pic3]Then at msn plus, he quickly goes to the zonealarm step, like in 1 sec.. so i don't think he installed it then.. think cause msn is not installed..plz help Link to comment Share on other sites More sharing options...
oioldman Posted May 16, 2006 Share Posted May 16, 2006 [pic1]the regedit needs /s to silent apply the key or you will get that - so make sure it looks like thisREG ADD %KEY%\005 /V 2 /D regedit /S "%systemdrive%\install\zonealarm.reg" /f and see how you get on[pic2]your not using correct switches - search the application install threadif you manually install it generates a .msi file - install that using /qn and will be ok[pic3]again your using incorrect switches - search the application install threaddon't use but switches Link to comment Share on other sites More sharing options...
DjWhizZ Posted May 16, 2006 Author Share Posted May 16, 2006 Thx, i'll search my a** off right now Daemon ToolsSwitch: /qn /Reboot=SuppressFull syntax: daemon.msi /qn /Reboot=SuppressExtraction needed: YesKey: "Extraction Needed" - Some applications need be extracted to access a number of files inside. Use WinRAR or a compatible extraction software to extract. So, i need to extract the msi(using z7)? but where to put the files then? in the same folder where the msi is? or.. am i thinking real wrong now Link to comment Share on other sites More sharing options...
T D Posted May 16, 2006 Share Posted May 16, 2006 (edited) NONONO, I think you forgot to put the end quotation mark at the end of the switch!@oioldman it'sREG ADD %KEY%\005 /V 2 /D "regedit /S \"%systemdrive%\install\zonealarm.reg"\" /fOr something like that when you have more than one quite. And you don't need quites unless there is a space between the path to regedit, and it's in system32 so you don't need to put a path, so the ideal way isREG ADD %KEY%\005 /V 2 /D "regedit /S %systemdrive%\install\zonealarm.reg" /f Edited May 16, 2006 by T D Link to comment Share on other sites More sharing options...
oioldman Posted May 16, 2006 Share Posted May 16, 2006 sorry, yes T_D it needs to be the second option you showed, been a long day at work and was doing of top of head.Yes you can extract the msi using winzip, winrar or 7zip and then place in your folder.i think you may benefit from this: http://unattended.msfn.org/unattended.xp/view/web/32/which will show you how to do. Link to comment Share on other sites More sharing options...
DjWhizZ Posted May 16, 2006 Author Share Posted May 16, 2006 (edited) ok it seems to work on a virtual pc, BUT.. msn and msn plus are not installing, he shows hes installing like installing firefox and stuff.. but when in windows.. i can't find it anywhere and i installed it on a real pc, (old one) and then i get a error of 7z, do i need to put something from 7z on my cd?and i tried it again(format and so one), and it shows the same error.. and an error that says msn installer is not found someone help? do i need to add something on RunOnceEx so i give the apps the time to install or something? Edited May 17, 2006 by DjWhizZ Link to comment Share on other sites More sharing options...
oioldman Posted May 17, 2006 Share Posted May 17, 2006 what swicthes are you using for MSN & MSN Plus?you should be able to usemsnmsgr.msi /quiet /norestartmsnpluse.exe /silentnosponsor and they'll be there.not sure about the 7z as not sure what your trying to do with it Link to comment Share on other sites More sharing options...
DjWhizZ Posted May 17, 2006 Author Share Posted May 17, 2006 I have these 2..REG ADD %KEY%\005 /VE /D "MSN Messenger" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\MsnMsgs.msi /qn /norestartREG ADD %KEY%\006 /VE /D "MSN Messenger Plus!" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\install\MsgPlus.exe /SilentInstallNoSponsor Link to comment Share on other sites More sharing options...
oioldman Posted May 17, 2006 Share Posted May 17, 2006 (edited) @DjWhizZ, don't forget to code tag your stuffi'm guessing it may be because your missing" /f at the end of each lineagain you would do well to place your apps inside a folder relevant to that app. e.g msnmsgs.msi & msgplus.exe in install\msn and office inside install\office.just makes live easier in long run as you can see what is happening Edited May 17, 2006 by oioldman 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