Whisper Posted January 27, 2005 Share Posted January 27, 2005 Hello All!!I've a trouble while try to install Acrobat Reader 6.0 from CD using [GuiRunOnce]On the winnt.sif file I entered the following:[GuiRunOnce]Command0=%cdrom%\Install\start.cmdAcrobat Reader installer is in:WINXP:\$OEM$\$1\Install\Applications\AdobeReader6and start.cmd sintax is the following:CLS@echo offTITLE Windows XP SP1 - Application Unattended InstallationECHO.ECHO Installing Adobe Reader 6ECHO Please wait...start /wait %CDROM%\install\Applications\AdobeReader6\AdbeRdr60_ita_full.exe -p"-s /v\"/qn\""After successfull WindowsXP installation i get the error that is not possible to find.%cdrom%\Install\start.cmdIf I edit the start.cmd file and change d: instead of %CDROM% the command starts correctly and i get Acrobat Reader successfully installed.Thanks for all of you that can take me out from this burden!!Cheers mates!!marco Link to comment Share on other sites More sharing options...
SC00BS Posted January 27, 2005 Share Posted January 27, 2005 Thats because the files get copied to the c-drive. Change %CDROM% to %SYSTEMDRIVE% Link to comment Share on other sites More sharing options...
prathapml Posted January 27, 2005 Share Posted January 27, 2005 * topic cleaned upHello Whisper,Welcome to MSFN forums!I see that you are using the [GUIrunOnce] method, which is the best to start off with. Now what happens, is that as far as your windows knows, there isn't any %cdrom% variable - it will exist only if you set it. Now, setting it is a long process, so let's go the easier way. Below is what what you need to do, if you have anymore questions, do post back here.1. Ensure that OEMpreInstall is set to YES in winnt.sif2. Change all instances of %CDROM% to %SYSTEMDRIVE%Why is step2?That's because whatever files you have kept in "$OEM$\$1\" will get copied to your C: drive if oempreinstall=yes.And also, one thing to know is that the OEM folders on cd, do not actually mean ANYTHING at all to the windows setup - it is useful only because the preinstall=yes will copy files from within there to the corresponding folders on HDD.What is %systemdrive% ?It is a system variable, which refers to the partition where windows gets installed. We use that, to make the installs easier. For example, tomorrow if you chose to install windows to D:, even then your automatic setups should work, right? That's what its for.Hoping this helps....Please post back on how it goes! : Link to comment Share on other sites More sharing options...
totoymola Posted January 27, 2005 Share Posted January 27, 2005 start /wait %CDROM%\install\Applications\AdobeReader6\AdbeRdr60_ita_full.exe -p"-s /v\"/qn\""Is this a working command? What is the purpose of -p? Link to comment Share on other sites More sharing options...
prathapml Posted January 27, 2005 Share Posted January 27, 2005 Well, you already know this one:/s /v/qn(s for telling installshield to install in silent mode, v to pass values to MSIEXEC, qn/qb is the MSI switches)InstallShield switches describedThat -p is added by the FEAD optimizer it seems, to extract silently. So with that above combination of switches, you can keep the original downloaded package and install silently.The downside?A truckload of HD space is lost on nonsense! You will have 100 MB almost, of disk-space occupied with that switch. Instead, do our normal method of picking up the extracted files and making AIP of it (and install using much simpler /QB switch), and hardly 30 MB is lost.@WhisperDon't worry about the above - continue using your current switch, because it is easier. Link to comment Share on other sites More sharing options...
totoymola Posted January 27, 2005 Share Posted January 27, 2005 Oh I see now.. Thanks for the info! I thought the -p is the same as the /p, that lets you specify the password. So the -p switch is for the Netopsystems FEAD..Off topic: The compression Netopsystems FEAD is really good. I tried repackaging Adobe Reader by performing an admin install, and used WinRAR to compress the archive, but I can't beat the size of the original installer. Link to comment Share on other sites More sharing options...
Astalavista Posted January 28, 2005 Share Posted January 28, 2005 yup smaller than ryanvm's packbut u need some reg tweaks to remove the icons and spam ads Link to comment Share on other sites More sharing options...
prathapml Posted January 28, 2005 Share Posted January 28, 2005 Off topic: The compression Netopsystems FEAD is really good. I tried repackaging Adobe Reader by performing an admin install, and used WinRAR to compress the archive, but I can't beat the size of the original installer.Yup.Imagine how small it would be if we could Netop FEAD our AIP! :bonkers:(10 MB *dreaming*) Link to comment Share on other sites More sharing options...
totoymola Posted January 28, 2005 Share Posted January 28, 2005 Hell yeah! But too bad, they don't offer trial.. 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