aspenjim Posted June 18, 2005 Share Posted June 18, 2005 What's the difference between runonce.cmd and runonceex.cmd? what's the ex part mean of runonceex.cmd? Finally, when would I use each and when would i use the guirunonce part of winnt.sif?thxaj Link to comment Share on other sites More sharing options...
Alanoll Posted June 18, 2005 Share Posted June 18, 2005 the file names themselves are irrelavant and can be anything you want them to be called.What's INSIDE those files is what determines whether it's RunOnce, RunOnce\Setup, RunOnceEX...RunOnce would be an invisible call to run all the windows (sorta like Windows does when starting up and starts other applications)RunOnce\Setup is closest to RunOnceEX but that you can't change the Title, and runs IMMEDIATELY after they keys are imported into the registry.RunOnceEX creates a window that lists all the program, can cahnge the title, and only executes after a restart or a call to the iernonce.dll process.RunOnceEX is documented on the Unattended guide as it's the most used and there's a nifty little picture showing it in action as well. Link to comment Share on other sites More sharing options...
aspenjim Posted June 18, 2005 Author Share Posted June 18, 2005 I've been studying the tutorial. if fact just made an amazing discovery after trying several attempts at the runonceex.cmd way of installing apps.... i have to say yes to oempreinstall for anything to happen within the $OEM$ directory. I have (thanks to the help of yowzl) found a nice way to copy over the i386 directory. I'm working on installing simple stuff like acroread701.exe and netfxsp1.exe. There is so much to learn and s little time and this is a huge site with thousands of good ideas.Reminds me of an old phrase mucho pinocha, pokita tiempoheheheajPS... whats the EX of RunOnceEX supposed to signify? Link to comment Share on other sites More sharing options...
Alanoll Posted June 18, 2005 Share Posted June 18, 2005 Extended Link to comment Share on other sites More sharing options...
HAL 9000 Posted December 24, 2007 Share Posted December 24, 2007 Hi,I am new in all this unattended installation and I have maybe stupied question about "RunOnceEx" in tutorial it seams that it is not well explauned or I just didn't get it. There are some commands that are not explained, such as:REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /fwhat does this stand for and what letter "D" stands for? Why do you include this line for some programs and for the others not?orREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /fwhat "s" and " means at the end what does "f" or "qn" at the end stands for?Can you tell me where I can find more detaild description for this?Thanks in advance. Link to comment Share on other sites More sharing options...
gospeed Posted December 24, 2007 Share Posted December 24, 2007 Until someone chimes in with a better guide, I have referred to this one often:http://unattended.sourceforge.net/installers.php Link to comment Share on other sites More sharing options...
Arie Posted December 25, 2007 Share Posted December 25, 2007 I am new in all this unattended installation and I have maybe stupied question about "RunOnceEx" in tutorial it seams that it is not well explauned or I just didn't get it. There are some commands that are not explained, such as:REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\install\alcohol\register.reg" /fwhat does this stand for and what letter "D" stands for? Why do you include this line for some programs and for the others not?The REG command is a Registry Command Tool. To see all available parameters, type the following in a command prompt.REG ADD /?The above command adds a key to RunOnceEx. You can see the command between the quotes (""). This specific command imports a Registry script silently (REGEDIT /S), which contains the registration information for the application Alcohol 120%. To see all available parameters, type the following in a command prompt.REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /fwhat "s" and " means at the end what does "f" or "qn" at the end stands for?Same as above; the part between quotes ("") is the command, the part before and after the quotes belong to the REG command, so to know what /F stands for... *cough* REG ADD /? *cough* As for the /s /v/qn part in the command between quotes ("") itself, it's meant to install this application silently and unattended. Every installer type has it's own parameters which it accepts. Run the installer with /? to see what parameters are available. Sometimes though this doesn't show any available parameters, so then you'll need to find out what kind of installer the application uses to know which parameters it accepts. There is information about this in the Unattended Guide, so I advise you to read it.Can you tell me where I can find more detaild description for this?The Unattended Guide is a good start. Read the forum. Keep trying, trying and trying. And ask if something is unclear. Good luck! Link to comment Share on other sites More sharing options...
HAL 9000 Posted December 26, 2007 Share Posted December 26, 2007 Thanks for the answers now I have some clue what all those commands are used for. But as always knowlege only opens more and more questions. One more thing do you know where can I find Windows XP Professional with no service pack nor updates at all so I can do it from scratch? Thanks again guys. Link to comment Share on other sites More sharing options...
Arie Posted December 27, 2007 Share Posted December 27, 2007 One more thing do you know where can I find Windows XP Professional with no service pack nor updates at all so I can do it from scratch?With starting from scratch I assume that you mean that you would like to integrate the latest Service Pack yourself as well, instead of purchasing a copy which already includes the latest Service Pack? I would personally always prefer a copy which already has the latest Service Pack integrated. First of all it saves you the work of integrating the latest Service Pack, second of all it's a cleaner source than your own slipstreamed source would be. Link to comment Share on other sites More sharing options...
DarkShadows Posted December 27, 2007 Share Posted December 27, 2007 It is possible to slipstream SP2 into a Windows XP SP1a CD-ROM. It will still work. Link to comment Share on other sites More sharing options...
HAL 9000 Posted December 27, 2007 Share Posted December 27, 2007 One more thing do you know where can I find Windows XP Professional with no service pack nor updates at all so I can do it from scratch?econd of all it's a cleaner source than your own slipstreamed source would be.Why is that? Link to comment Share on other sites More sharing options...
Arie Posted December 27, 2007 Share Posted December 27, 2007 I've once compared a Microsoft supplied SP2 source with a self-slipstreamed SP2 source and the Microsoft supplied one was smaller in size. Link to comment Share on other sites More sharing options...
HAL 9000 Posted December 27, 2007 Share Posted December 27, 2007 Have any idea why is it that way, because it seams that slipstreaming service pack is one of the easiest steps in making unattended installation. Link to comment Share on other sites More sharing options...
kingshawn Posted December 10, 2013 Share Posted December 10, 2013 Sorry for digging this old post ... I have tried RunOnceEx on Windows XP and it works perfectly fine. But I am unable to do it on Windows 7 using SetupComplete.cmd. Can you tell me what am i missing ? 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