Content Type
Profiles
Forums
Events
Everything posted by durex
-
This works right from the ini file.. thx a bunch Alanoll btw.. in that screen shot, starting at xjump, all of the parameters are off by 1 and xtray is at there bottom where it should be directly after xjump.. someone may have already pointed this out as I havent read through this entire thread. thanks again! made this process SO much easier!
-
How can you tell script msi's apart from 'normal' msi's?
-
So is the same script engine used for every msi installshield? In other words, can I take that iisscript.msi extracted from CuteFTP and use it with another msi thats packaged similarly?
-
@Asta ha... sorry man. you know as soon as I hit add reply i figured that was a pretty silly remark. you def know your stuff around here... @ staple You rule. That /qn trick gets rid of that status box and installdir works like a charm. One question.. what exactly does the isscript.msi do? Thanks a ton.
-
@ staples 1st off.. awesome work and thanks a ton! Is there an additional switch to redirect the installation path? Also CuteFTP Pro v8.1? Latest version I can see is 6.0 @ Asta If you want to stick with a batch file just use CMDOW @ /HID Also, is anyone having issues uninstalling this once its been installed using this method?
-
something like runonce at startup
durex replied to Radimus's topic in Unattended Windows 2000/XP/2003
If you dont want to do it at RunOnce, just place the batch file in $Docs\allusers\startup. Then if you dont want it to run next time, simply include a command to delete itself once its complete. -
Yea.. the only options you have is 'Auto Download and Install', 'Download and let me know and Ill install manually' and 'dont download or install, just let me know there are updates available' (obviously not direct quotes, but you get the idea) Wasnt sure if there was an additional flag that could be used so it wouldnt reboot after it installs. In the meantime Ill just download and not install.
-
So I did a ton of work last night on my runonceex and my regtweak files last nite... I was in the middle of it, so I simply left them open. I woke up this morning... turned on my PC and to my surprise, everything was closed down.. I finally realized that my PC rebooted last night.. right at 3:00am, when I have my Windows Automatic updates download and install.... and silly me didnt bother save at all causing me to loose all of the work I did last night.. Is there anyway that you can keep the option of auto download and install, but NOT automatically reboot?? not too happy. Thanks.
-
Well one strange thing I noticed.. at least with my installer.. you can also extract it using WinRaR... but it only extract the windows msi components and nothing thats actually executable to launch the cuteftp installer... Also, youll noticed that while the initial setup screen says installsheild, it actually uses Windows Installer... so the -r wont work. Theres gotta be a way to do this...
-
bad link
-
Now Ive got a question about this... Ive had issues trying to create the seperate driver folders like the UA guide recommends... half of my nForce drivers dont get picked up and I still have to update the drivers manually once its complete. If I just toss all of the files into one folder, will windows know which driver file goes with which device?
-
Hey Asta.. you ever get something figured out for this?
-
Cool.. that setup line is exactly I was looking for.. didnt realize you could pass commands like that with the Setup parameter... thx a bunch Asta
-
Is there anyway to do this directly using a command in an SFX, or do I need to create a batch file that applies the reg file and point the 'setup' parameter to that... Thanks!
-
I dont think it was a waste of time... for people who are already searching around the forums its a great reference thread. nice work.
-
has anyone figured out the best way to silently install steam? I know that you can backup the gcf files to avoid having to update all over again and Ive got a seperate harddrive where I plan on storing these and copying them over for the install, but I cant figure out the switches to the steam installer.... Thanks!
-
In case anyone uses this excellent program.. to install silently run... setup.exe /install:<Insert Desired Installation Path> /q2 and it appears as though all settings are kept here... [HKEY_CURRENT_USER\Software\VB and VBA Program Settings\AccountLogon\Settings] Just export this key after installing and apply them after installing your UA instance
-
Open WinRar > Help topics > Self-extacting modules > GUI RAR and ZIP SFX modules.... voila! All the commands at yr fingertips.
-
awesome work man... quick ?... would it be easy to intregrate an additional swicth that would allow to specify the installation path?
-
I actually decided to write up this guide for all who are interested... its my 1st for this place, so please... ANY suggestions are very much welcome. iTunes v4.7 Silent Installation Updated: 12/14/04 @ 10:10 EST Overview This guide will walk you through configuring a silent installation of iTunes v4.7 for use with a Windows XP Unattended Installation, using VBScripting. It also explains why the workaround is necessary as well as how to uninstall the optional QuickTime components that arent required for iTunes. Why an iTunes silent installation is such a pain in the arse... The reason why youre forced to go through these somewhat painful steps in order to install iTunes without any user intervention is simply because the installer its packaged in is screwed up. Ive seen a few people say this started occurring in version 4.7... I never tried it prior to this, so Im not sure if this is the case. If it worked without issue you would have a couple different options available to accomplish this. You should be able to use the -s parameter (after creating the setup.iss file) and have it automatically install without intervention, but for some reason your still prompted with the 1st initial screen that youre forced to click 'Next' to... after you hit next, it installs silently as it should... but this obviously isnt a true silent install. Another option you should have available to you is similar to what prathapml touched on... using the msi thats packaged in the installer with the '/QB' parameters, but this come back with some stupid error. So alas, youre forced to brew up some work-around to accomplish this if you dont want to touch the install at all... Configuring your iTunes silent install 1. Uninstall iTunes if you already have it installed. 2. Install iTunes using the following command setup.exe -r This will launch the installer as normal, enter the options during this install exactly how you want it setup after your silent install. 3. Once you complete the installation process, you should be able to find the 'answer file' it created, with all the option you chose, in your WINDOWS folder. Place it in the same location that the iTunes setup.exe is going to be in on your UA CD. 4. Open notepad, copy and paste the following in it and save it as 'setup.vbs'. Place this in the same location as mentioned above. Dim FSO, WshShell, AllDrives, CDROM, SYSD, APP, MsgBox Set FSO = CreateObject("Scripting.FileSystemObject") Set AllDrives = FSO.Drives Set WshShell = WScript.CreateObject("WScript.Shell") SYSD = WshShell.ExpandEnvironmentStrings("%Systemdrive%") ' Check for CDROM For Each objDrive In fso.Drives If objDrive.DriveType = "4" And objDrive.IsReady Then If fso.FileExists(objDrive & "\WIN51") Then cdrom = objDrive End If Next If Len(CDROM) = 0 Then MsgBox "Error: CD-ROM not found!",vbCritical,"Diskeeper" WScript.Quit End if APP = CDROM & "\Custom\Applications" ' Launch Silent Installer WshShell.Run (APP & "\iTunes\setup.exe -s -f2" & SYSD & "\iTunes.log") ' Wait for Install Window to come to focus Do until WshShell.AppActivate ("iTunes for Windows") WScript.Sleep 2000 Loop WScript.Sleep 500 ' Hit N for Next WshShell.SendKeys "N" ' Wait for Installation to complete by checking for the iTunes.log Do until FSO.FileExists(SYSD & "\iTunes.log") WScript.Sleep 3000 Loop WScript.Quit 5. Now you need to modify this file thats specific to your setup a. The text in red is the parent folder where all your application install folders should be. The 'Custom' folder in this example is on the same level as i386 and $OEM$. Inside this, I have this 'Applications' folder (as well as a couple other folders for regtweaks and drivers, but those arent pertinent to this example) and within the Applications folder I have folders for each pieces of software that I want to install during my UA (ie: iTunes, Diskeeper, WinRAR, etc). b. The text in orange is obviously the specific folder and install exe for iTunes NOTE: You could simply specify the full path and file of the setup.exe on the APP line and get rid of everything in Orange, but this way I can use the entire upper portion of code for other VBScripts as well 6. Now call the setup.vbs script from your RunOnceEx.cmd, similar to the following: REG ADD %KEY%\033 /VE /D "iTunes v4.7" /f REG ADD %KEY%\033 /V 1 /D "<Enter Path to iTunes folder here>\setup.vbs" /f setup.vbs Explained Everything above the line starting with 'APP' declares and sets variables, including one for your CD-ROM drive. This example assumes you have a file 'WIN51' in the root of your UA CD, if you dont, simply replace this with a file that does exist. The next 15 or so lines (down to the 'Hit N for Next' line) launches the installer, waits for the dialog box to appear, then simulates the 'N' keystroke so next is chosen. The installer creates a log file (iTunes.log), once its complete, at the root of your system drive, the last loop statement looks for this before the script completes. If this wasnt added the VBScript would complete and RunOnceEx would start the next line even though iTunes is still installing. Whether or not you want to keep this file (I dont bother), you may want to include it to be deleted in your cleanup.cmd. Hate QuickTime I hate it and while you think you dont hate it, you do and unwillingly, QuickTime is also installed during your iTunes setup. In fact iTunes uses key component from it to operate, so unfortunately you cant uninstall it completely. You can, however, uninstall the optional components, which include the shortcuts for quicktime it creates. Again, I couldnt find any easy way to this (one liner batch command), so I whipped up this script... Set WshShell = WScript.CreateObject("WScript.Shell") ' Launch Uninstaller WshShell.Run "C:\WINDOWS\unvise32qt.exe /s C:\WINDOWS\System32\QuickTime\Uninstall.log" ' Wait for Uninstall Window to come to focus Do until WshShell.AppActivate ("QuickTime Uninstall") WScript.Sleep 2000 Loop WScript.Sleep 500 ' send 1 'tab' keystrokes to choose 'Uninstall' WshShell.SendKeys "{TAB}" ' send the 'enter' keystroke WshShell.SendKeys "{ENTER}" ' Wait 5 seconds for Uninstall to Complete WScript.Sleep 5000 WScript.Quit The only thing with this you may have to alter is the last Sleep line... depending on how slow your system is, you may need to increase this, but it should leave for plenty of time. I called this 'UIQT.vbs' (UnInstall QuickTime) and placed it in the same folder as my iTunes files. I also created a seperate line for RunOnceEx to call it from as I wanted to treat the installation of iTunes and uninstallation of QuickTime components as 2 seperate items. If its not obvious (which it really should), you want to make sure you run this script after youve run the iTunes installer. Thats pretty much it. Again.. my 1st guide for this place, so I hope others will find it helpful and easy. Let me know if anything should be clarified, added, removed, etc...
-
can't get Runonce to wait for EZ CD to fnish
durex replied to randalldale's topic in Unattended Windows 2000/XP/2003
just out of curiousity.. whats with the double pipes at the beginning of your paths? -
Add Hardware Wizard Pops Up During RunOnceEx
durex replied to jivetrky's topic in Unattended Windows 2000/XP/2003
Ive got this same issue with a CDROM drive... the same CDROM drive that the winxp cd has been using during the entire installation. Still havent figrued out what the hel is causing it -
thats even better.... thx!
-
Yea... it appears if youre going to use these parameters it strips them all out except the ones you specify so you need to specify parameteres to associate with files, cdburning, install ipod software, etc... i think ill just stick with my vbs/setup.iss combo.
-
same reason i dont, i imagine.. anal retentive.