Everything posted by bellsprout
-
Runonceex.cmd will not work
what if the cdrom drive isn't D? Same dif right? FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: Runonceex.cmd uses the file win51ip.SP2 instead of CD.txt What's the purpose of a blank file that can't be written to anyway?
-
Runonceex.cmd will not work
Ok...since it says "cant find \Apps\etcetcetc" it just be the first line: FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: This is supposed to find the CDROM, but it doesn't. Runonceex.cmd creator generated this, so what's wrong?
-
Runonceex.cmd will not work
I made a runonceex.cmd using the runonceex.cmd creator. I put this file in %cdrom%\$OEM$ and put in it cmdlines.txt. This part is ok - the installer runs, but when it does, it says that it can't find any of the filenames if the apps. I'm sure I typed their names in correctly. I specified the apps to be in %cdrom%\Apps, and that's exactly where they are. This is my runoncecmd.exe: ____________________________________________________________________________ cmdow @ /HID @Echo Off FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i: SET PP=%cdrom%\Apps\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Programs" /f REG ADD %KEY%\000 /VE /D ".net2" /f REG ADD %KEY%\000 /V 1 /D "%PP%dotnet2.exe" /f REG ADD %KEY%\001 /VE /D ".netsp1" /f REG ADD %KEY%\001 /V 1 /D "%PP%dotnet11sp1.exe" /f REG ADD %KEY%\002 /VE /D "java" /f REG ADD %KEY%\002 /V 1 /D "%PP%jre506.exe" /f REG ADD %KEY%\003 /VE /D "Kaspersky Antivirus" /f REG ADD %KEY%\003 /V 1 /D "%PP%kavscript.exe" /f REG ADD %KEY%\004 /VE /D "MSAntispyware" /f REG ADD %KEY%\004 /V 1 /D "%PP%MSAntispyware.exe" /f REG ADD %KEY%\005 /VE /D "MSN_Messenger_7.5.0322" /f REG ADD %KEY%\005 /V 1 /D "%PP%MSN_Messenger_7.5.0322.exe" /f REG ADD %KEY%\006 /VE /D "MsgPlus-362.exe" /f REG ADD %KEY%\006 /V 1 /D "%PP%MsgPlus-362.exe /SilentInstallNoSponsor" /f REG ADD %KEY%\007 /VE /D "reader705.exe" /f REG ADD %KEY%\007 /V 1 /D "%PP%reader705.exe" /f REG ADD %KEY%\008 /VE /D "Office 2003" /f REG ADD %KEY%\008 /V 1 /D "%PP%Office2003\PRO11.msi /QB" /f REG ADD %KEY%\009 /VE /D "Photoshop CS2" /f REG ADD %KEY%\009 /V 1 /D "%PP%PhotoshopCS2\PhotoshopCS2Script.exe" /f REG ADD %KEY%\010 /VE /D "Spybot.exe" /f REG ADD %KEY%\010 /V 1 /D "%PP%Spybot.exe" /f REG ADD %KEY%\011 /VE /D "UltraEdit" /f REG ADD %KEY%\011 /V 1 /D "%PP%uesetup.exe /s" /f REG ADD %KEY%\012 /VE /D "WinRAR" /f REG ADD %KEY%\012 /V 1 /D "%PP%winrarscript.exe" /f EXIT ___________________________________________________________________________ any idea what the problem is?
-
how to write switches
so how do you find out what switches are built into an install program? I tried running them with /? switch but that didn't work. what's with this business: and What language is it? Is there a guide on this?
-
how to write switches
I can use AutoIt to script the installation of an app, then place the scripted exe in runoncexec.cmd and that'll install the program silently after it finishes with windows right?
-
how to write switches
yeah there are a list of switches for programs in the sticky yeah? but there are some other programs that i want to install silently which aren't in the stickies, eg office 2003, and other commercial apps with cd keys. how can i turn the installation programs for those apps into silent install ones? there has to be a rule or code or protocol or w/e as to what each switch does, and if there is i'd like to learn so i can make my own silent install apps edit: you can't? i heard there is a program called autoit - what does that do?
-
how to write switches
is there a guide on how to determine the switches to any install program, ie an install program with the usual license agreement, then name, cd key, etc etc? i know there are switches for a lot of programs in the stickies but i really wanna do my own, eg office 2003, etc.