gyrene2083 Posted September 30, 2006 Posted September 30, 2006 (edited) Hello all. First off I wanted to thank Mazin, for the help he has given me. Thanks Mazin. With that said, I am having problems with my installation. I created the winnt.sif file and placed it in the i396 folder. I also, put the runonceex.cmd, cmdlines.txt, and the cleanup.cmd files in the $oem$ folder.The XP installation went fine. The problem I am having is with the installation of the applications. After the first logon, I get the screen that says windows is now setting up the following items: Then it lists all the applications I want to install. Then it just zooms down the list and stops at one of the apps and saysWindows cannot find '\apps\application.exe'. Make sure you typed the name correctly, and then try again.So, below I am going to provide a list of the following files; winnt.sif, runoncecmd.cmd, cmdlines.txt, and cleanup.cmd If anyone could eyeball these and steer me in the right direction I would greatly appreciate it.Oh and I ran the runonceex.cmd, and checked the hklm\software\microsoft\windows\currentversion\runonceex key, and all it says is Name = Data, Type = Installing Applications. (I checked that key because that is what the tutorial suggests).RunOnceExcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\005 /VE /D "FoxIt Reader" /fREG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\apps\FoxIt\foxitreader_setup.exe" /VERYSILENT /SP- /DIR="C:\Program Files\1-Applications\FoxIt Reader" /GROUP="1-Applications" /fREG ADD %KEY%\010 /VE /D "Diskeeper 10" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\apps\Diskeeper\Diskeeper.msi /qn" INSTALLDIR="%ProgramFiles%\3-Toolbox\Diskeeper" /GROUP="3-Toolbox" /fREG ADD %KEY%\020 /VE /D "FireFox" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\apps\Firefox\firefox.exe -ms -ira /S /D="C:\Program Files\1-Applications\Firefox" /GROUP="1-Applications" /fREG ADD %KEY%\035 /VE /D "WinRar 3.20" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\apps\Winrar3.20\wrar320.exe /s /DIR="C:\Program Files\3-Toolbox\WinRar" /GROUP="3-Toolbox" /fREG ADD %KEY%\037 /VE /D "Clone DVD" /fREG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\apps\CloneDVD\setup.exe /S /D="C:\Program Files\2-Multimedia\CloneDVD" /GROUP="2-Multimedia" /fREG ADD %KEY%\040 /VE /D "AnyDVD" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\apps\AnyDVD\Setup.exe /S /D="C:\Program Files\2-Multimedia\AnyDVD" /GROUP="2-Multimedia" /fREG ADD %KEY%\050 /VE /D "Nero Ultra 7" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\apps\Nero 7\Nero.exe /silent /noreboot" /fREG ADD %KEY%\055 /VE /D "TweakUI Powertoy" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\apps\TweakUI\Tweakui.msi /qn" INSTALLDIR="%ProgramFiles%\3-Toolbox\TweakUI Powertoy" /GROUP="3-Toolbox" /fREG ADD %KEY%\060 /VE /D "Deskman Powertoy" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\apps\Deskman\DPSetup.msi /qn" INSTALLDIR="%ProgramFiles%\3-Toolbox\Deskman Powertoy" /GROUP="3-Toolbox" /fREG ADD %Key%\065 /VE /D "Office 2003" /fREG ADD %Key%\065 /V 1 /D "%systemdrive%\install\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\085 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\cleanup.cmd" /fEXITcmdlines.txt[COMMANDS]"RunOnceEx.cmd""rundll32 advpack.dll,LaunchINFSection nLite.inf,nLiteReg"cleanup.cmdcmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteDEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"RD /S /Q %systemdrive%\drivers\RD /S /Q %systemdrive%\apps\EXITwinnt.sif;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes Unattendedswitch="yes" TargetPath=\WINDOWS Filesystem=* Repartition="No" WaitForReboot="No"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=35 OemSkipWelcome=1[userData] ProductKey=xxxx FullName="Wil Del-Valle" OrgName="MVCD" ComputerName=Phoenix[Display] BitsPerPel=32 Xresolution=1280 Yresolution=1024 Vrefresh=85 AutoConfirm=1[TapiLocation] CountryCode=1[RegionalSettings] LanguageGroup=5,1[identification] JoinWorkgroup=x-men[Networking] InstallDefaultComponents=Yes Home_Page=http://www.google.com[WindowsFirewall] Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall] Mode = 0[Components] msmsgs=off msnexplr=off freecell=off hearts=off minesweeper=off pinball=off solitaire=off spider=off zonegames=off[shell] DefaultStartPanelOff = Yes DefaultThemesOff = Yes Edited September 30, 2006 by gyrene2083
JDCMAN Posted October 1, 2006 Posted October 1, 2006 Any ideas?Do you know which application it is? It's hard to tell where the problem is without having somewhere to start
gyrene2083 Posted October 1, 2006 Author Posted October 1, 2006 Well it skips all the programs and the first error msg occurs with Nero.Windows cannot find '\apps\nero.exe'. Make sure you typed the name correctly, and then try again. Then it installs office with no problem then goes down to cleanup.cmd and displays the same error msg. Then upon further inspection. The only app that is installed is office 2003. The other applications never install.I don't know what I did wrong.
gyrene2083 Posted October 1, 2006 Author Posted October 1, 2006 Ok Takeshi are you saying that I have multiple quotation problems? If so, can you point me in the right direction so I can fix them?
Takeshi Posted October 1, 2006 Posted October 1, 2006 Look here:http://unattended.msfn.org/unattended.xp/view/web/31/Applications that use Quotations...
gyrene2083 Posted October 1, 2006 Author Posted October 1, 2006 Ok so I eyeballed the link you gave me, and made some adjustments to the runonceex file. I ran the file and checked the registry, and now I have the entries in the registry. Some still don't have the path of the executibles, but I think I am on the right path. Does that sound about right to you?
Ctrl-X Posted October 2, 2006 Posted October 2, 2006 Some still don't have the path of the executibles, but I think I am on the right path. Does that sound about right to you? Yup One question: what are the /GROUP switches you're using supposed to do? I can't find anything about this in the REG ADD syntax help.
gyrene2083 Posted October 2, 2006 Author Posted October 2, 2006 Thank you Ctrl-X for your answer. I greatly appreciate your time. I wanted to be able to install programs icons in specific folders, in the start menu. For example;Here is the default Target:c:\Program Files\GetDiz\GetDiz.exeHere is where I would like the Target to be:c:\Program Files\3-Toolbox\GetDiGetDiz.exeSo, mazin suggested I use the /Group switchYou can, even, set your shortcut folder in Start menu using the switch: /GROUP="FolderName"like so;Well, you asked where to put /GROUP="FolderName". You put it on the command line like this:start /wait %SystemDrive%\Install\MyApp\MyINNO.exe /VERYSILENT /SP- /DIR="C:\Program Files\2-Multimedia\MyAppFolder" /GROUP="FolderName"The problems I am having right now are finding the right switches, and where exactly do the quotations go, and how I can use the /GROUP switch for the following apps;FoxIt ReaderDiskeeper 10FireFoxWinRar 3.20CloneDVDAnyDVDNero Ultra 7TweakUI PowertoyDeskman Powertoy*Office 2003*Office 2003, was able to do exactly what I wanted, because I created an MST file.So, if you or anyone else has any ideas regarding the switches and quote problems I'm having, I'd be really greatful. I know I'm so close, but not quite there yet.
Ctrl-X Posted October 2, 2006 Posted October 2, 2006 (edited) So, mazin suggested I use the /Group switchRight; as you may have already discovered, this switch probably only works with a certain kind of installer. The same goes for the /VERYSILENT switch, and so on. What you need to do is find out what switches to use for every application you're trying to install. Fortunately you'll be able to find most of them in the guide: *here* or in the Application Installs subforum: *here*.The problems I am having right now are finding the right switches, and where exactly do the quotations go,Exactly. As for the quotations, you'll need to think of it this way:1. The entire install command, including all switches, needs to be enclosed in double quotes;2. If the install command itself contains quotes, they need to be preceded by a backslash character.So if the install command is something like...start /wait %SystemDrive%\Install\MyApp\MyINNO.exe /VERYSILENT /SP- /DIR="C:\Program Files\2-Multimedia\MyAppFolder" /GROUP="FolderName"The REG ADD command in RunOnceEx.cmd would be something like...REG ADD %KEY%\005 /V 1 /D "start /wait %SystemDrive%\Install\MyApp\MyINNO.exe /VERYSILENT /SP- /DIR=\"C:\Program Files\2-Multimedia\MyAppFolder\" /GROUP=\"FolderName\"" /fNote the quotes enclosing the install command in green and the ones inside the install command, preceded by backslashes, in red. Because the install command ends in double quotes and the install command also needs to be enclosed in double quotes, in this case the entire string ends in two double quotes. Hope this helps; good luck with it! Edited October 2, 2006 by Ctrl-X
gyrene2083 Posted October 2, 2006 Author Posted October 2, 2006 Ctrl-X, thank you so much for your direction. I made some modifications, to the runonceex.cmd file, and ran it. I looked into the registry, and I was able to see not only the entries of the applications, but the path of the executibles as well I am doing a test run on my virtual pc as we speak. I'll keep you abreast as to the outcome.
gyrene2083 Posted October 2, 2006 Author Posted October 2, 2006 (edited) Made a mistake with install, will reinstall and post results later. Edited October 2, 2006 by gyrene2083
gyrene2083 Posted October 2, 2006 Author Posted October 2, 2006 So, being that /GROUP, is for INNO installs only, is there a way that I can create the 3 folders (1-Applications, 2-Multimedia, 3-Toolbox), and then have the folders created in the startmenu moved to these folders?I'm thinking a batch file, that would run after the complete install, and move the folders over. (Of course, I have no idea of scripting, so forgive my ignorance).
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