Content Type
Profiles
Forums
Events
Everything posted by MHz
-
The installer is on their download page. It is pretty with no silent switches that work with it. I downloaded the zip and used Inno Setup to create the installer as you would have done totoymola. ISS ; Source files should be in folder named {app}, next to this script. [Setup] OutputBaseFilename=Foxit Reader v1.3.0.909 AppCopyright=Foxit AppName=Foxit PDF Reader AppVerName=Foxit PDF Reader v1.3 DefaultDirName={pf}\Foxit ShowLanguageDialog=auto AppendDefaultGroupName=false DisableProgramGroupPage=true AllowNoIcons=true DirExistsWarning=no InternalCompressLevel=ultra SolidCompression=true UsePreviousGroup=false UninstallDisplayIcon={app}\Foxit Reader.exe UninstallDisplayName=Foxit Reader AppPublisher=Foxit Software AppVersion=1.3.0.909 VersionInfoVersion=1.3.0.909 VersionInfoCompany=Foxit Software VersionInfoDescription=PDF Reader WizardImageFile=C:\Program Files\Inno Setup 5\WizModernImage-IS.bmp WizardSmallImageFile=C:\Program Files\Inno Setup 5\WizModernSmallImage-IS.bmp DisableDirPage=true ChangesAssociations=true AlwaysShowDirOnReadyPage=true [Files] Source: {app}\Foxit Reader.exe; DestDir: {app} [Icons] Name: {commonstartmenu}\Foxit Reader; Filename: {app}\Foxit Reader.exe; WorkingDir: {app}; IconFilename: {app}\Foxit Reader.exe; Comment: PDF Reader; IconIndex: 0 [Registry] Root: HKCR; SubKey: .pdf; ValueType: string; ValueData: FoxitReader.Document; Flags: uninsclearvalue Root: HKCR; SubKey: .pdf; ValueType: string; ValueData: application/pdf; ValueName: Content Type; Flags: uninsdeletevalue Root: HKCR; SubKey: FoxitReader.Document\Shell\Open\Command; ValueType: string; ValueData: """{app}\FoxitReader.exe"" ""%1"""; Flags: uninsdeletevalue Root: HKCR; Subkey: FoxitReader.Document\DefaultIcon; ValueType: string; ValueData: {app}\FoxitReader.exe,1; Flags: uninsdeletevalue
-
I prefer to apply tweaks at Cmdlines.txt before any accounts are created. Any HKEY_CURRENT_USER tweaks are automatically redirected to the default user. Future accounts inherit the tweaks. This is by far the easiest method. Installing apps can be done to the correct account as drscouse has mentioned or for all users if installed directly from a script executing the installations from Cmdlines.txt
-
Nologic, You should not make $Drive global. It is only used within the function locally. Everything is done within the function, which simply returns the drive letter. #include only required to include an additional script to the main script. Have attached the version that I have. FindDrive.html JohnS, The code that you show will Not work as @ComSpec will not return any value back to the script for use. I believe that your error is not knowing how to call a user function? Without showing the problem, then a resolve is not possible. I will post a simple version for you. If you want help, then please post enough information, that may allow for a correct answer to be given. This is a line of code to use at the top of your script to retrieve the drive letter by calling the FindCD function. $variable = FindCD('WIN51') When this line is executed, it will send the WIN51 parameter to the FindCD function below. Func FindCD($filename) $cdrom = DriveGetDrive('CDROM') If Not @error Then For $i = 1 To $cdrom[0] If FileExists($cdrom[$i] & '\' & $filename) Then Return $cdrom[$i] Next EndIf EndFunc The FindCD function can be inserted at the bottom of your script, out of the way. What a script could look like: $CD1 = FindCD('WIN51') $CD2 = FindCD('Software') Run($CD1 & '\I386\Winnt32.exe') Run($CD2 & '\Software\Setup.exe') Func FindCD($name) $cdrom = DriveGetDrive('CDROM') If Not @error Then For $i = 1 To $cdrom[0] If FileExists($cdrom[$i] & '\' & $name) Then Return $cdrom[$i] Next EndIf EndFunc In this example, $CD1 stores the cdrom letter of the drive that has WIN51 in it and $CD2 stores the cdrom letter of the drive with Software in it. Just ask if you cannot understand anything shown.
-
I use a patched sfc_os.dll. The registry setting for disabling is SFCSetting, not SFCDisable. The system manages SFCDisable and will reset it. SFCSetting is added, so it will remain as set.
-
You may need to reset AutoAdminLogon to 0 manually with another reg file, when finished with the account.
-
upx is an executable packer, not an archive.
-
http://unattended.msfn.org/intermediate/users.htm I do not understand the value of 2 that you are setting? 0 = off , 1 = on. The Autologon can be set by the Winnt.sif for the Administrator account. AutoLogonCount allows the Administrator to logon x amount of times. If you want to set Autoadminlogon for a created user instead, then set it by a reg or cmd file as listed in the link supplied. Autoadminlogon is a setting for continuous logons for the selected user. References to Autologon for the Administrator account in Winnt.sif is different to Autoadminlogon for a user account.
-
DriveGetDrive() returns an array. This is a quick and dirty solution to running the file on the 1st cdrom with little error checking etc. $var = DriveGetDrive( "CDROM" ) If Not @error Then Run ($var[1] & "\testing.avi")
-
Do not see how %CDROM% is being set. If this command file is on the CD, why have the %CDROM% variable? You may have an autorun.inf, which runs your menu? The menu can run the command file below, located inside the dvd folder to install your software. @ECHO OFF ECHO. ECHO Bezig met installeren van dvd decrypter ECHO Even geduld a.u.b. start /wait dvddecrypter\SetupDVDDecrypter_3.1.9.0.exe ECHO. echo bezig met dvdshrink echo Even geduld start /wait dvdshrink\dvdshrink32setup.exe /SP /VERYSILENT /NOREBOOT ECHO. ECHO Bezig met instaleren van Anydvd ECHO Even geduld start /wait anydvd\SetupAnyDVD4572.exe /s echo. echo Bezig met installeren van nero burning rom echo Even geduld start /wait nero\nero6603.exe /SILENT /SN=1Axxxx-xxxx-xxxx-xxxx /WRITE_SN /NOREBOOT
-
If you develop programs with Java, then you should not be concerned about shaving off anything off the 110+ Mb download? End-Users of Java can just download the 15 Mb+ download.
-
Another variable would not be required. Just add Else to the condition. RUN ("Y:\BATCH\nipp.exe") WinWaitActive("Novell iPrint Client Setup") SEND ("!n") ; Delays the execution of the !F long enough for client to complete install Opt("WinWaitDelay", 9000) WinWaitActive("Novell iPrint Client Setup") SEND ("!f") ; Need to add the variables ?? ; Enter the numbers after RP in your printer name. (Example RP0004 would be 0004) $name = InputBox('Select Printer name', 'Example: 0004', '0000') If Not @error Then ; Would you like this to be your default printer, YES or NO If MsgBox(4 + 32, 'Set Default Printer', 'Would you like this to be your default printer') = 6 Then RUN ("C:\WINNT\SYSTEM32\iprntcmd.exe http://www.xxx.xxx/ipp/RP" & $name & " /add /default") Else RUN ("C:\WINNT\SYSTEM32\iprntcmd.exe http://www.xxx.xxx/ipp/RP" & $name & " /add") EndIf EndIf Good luck
-
Do not need to if XP has the drivers for your chipset. But I would be inclined to install the latest chipset drivers in your circumstance. It may solve the issue.
-
This is recursive, but you can just remove the /S parameter for your needs. http://www.msfn.org/board/index.php?showtopic=55505
-
Use == instead of ~=. I have it as not equal to, rather equal to... Install = File.DoesExist('I386\\WINNT32.exe') if Install == false then Dialog.Message("Notice", "WINNT32.EXE Was not found in " .. _SourceFolder .. '\\I386', MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end
-
Like this example Install = File.DoesExist('I386\\WINNT32.exe') if Install ~= false then Dialog.Message("Notice", "WINNT32.EXE Was not found in " .. _SourceFolder .. '\\I386', MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); end
-
No. That is the lite version of .Net Framework. It is used on portable devices, perhaps Windows Media Edition?,...... You can rename the file to setup.exe and place in DOTNETFX folder as Shark007 has mentioned. The XP Menu will execute it from the link provided when clicked.
-
RUN ("Y:\BATCH\nipp.exe") WinWaitActive("Novell iPrint Client Setup") SEND ("!n") ; Delays the execution of the !F long enough for client to complete install Opt("WinWaitDelay", 9000) WinWaitActive("Novell iPrint Client Setup") SEND ("!f") ; Need to add the variables ?? ; Enter the numbers after RP in your printer name. (Example RP0004 would be 0004) $name = InputBox('Select Printer name', 'Example: 0004', '0000') If Not @error Then RUN ("C:\WINNT\SYSTEM32\iprntcmd.exe http://www.xxx.xxx/ipp/RP" & $name & " /add") ; Would you like this to be your default printer, YES or NO If MsgBox(4 + 32, 'Set Default Printer', 'Would you like this to be your default printer') = 6 Then ; ?? Command to set default printer ?? EndIf EndIf You could replace Opt("WinWaitDelay", 9000) with Sleep(9000) ? The $name variable will store the value returned by the Inputbox. If Cancel is pressed, then @error will result and the If block will not be processed. You may need to add a command to set your default printer?
-
Look in the Helpfile contents for Language Reference / Datatypes and view the area which references Strings. Your error has occured because of the double quotes. Just use single quotes to surround the double quotes or you can double up the double quotes.
-
Just use BootVis to trace the boot process. This will display any problems. It has an optimise function which may simply fix the issue. I agree with Takeshi. Disabling services will do little. Installing other alternatives of software will do little also. If your hardware is slow, then any change of software will not speed it up.
-
Nullsoft installer. Use an uppercase S. Setup.exe /S
-
How do I auto install apps in my user profile?
MHz replied to drscouse's topic in Unattended Windows 2000/XP/2003
Autologon within the Winnt.sif does only apply to the default admin account. This is why I mention of creating a cmd or reg file to create the autologon (for the new account created). Oobeinfo.ini is a nice easy way to create a single account with autologon, or multiple accounts, up to 6. More then 1 requires an extra cmd or reg file to enable autologon. You just create a file in $OEM$\$$\system32\oobe\oobeinfo.ini. Insert an entry like this in it. [Userinfo] Identity000=drscouse The above example will create an account called drscouse and it will have autologon set as default. -
help me installation at T12 stage
MHz replied to darksimoon's topic in Unattended Windows 2000/XP/2003
Your test that works shows no quotes. Type Start /? in the command console to get the correct syntax to be used. You will find that the 1st set of quotes after the Start command refer to the window title parameter. -
Centuries ago, people used to be told to spin around 3 times, jump on one foot 25 times, and then stand on their head for 2 days. Just to cure a headache. Seems times have not changed too much. I am certainly not ignorant or lazy to install FireFox. I just do not want the sh*t. Thankyou. I think this thread has gone way off topic with alot of hounding of what software to use...
-
How do I auto install apps in my user profile?
MHz replied to drscouse's topic in Unattended Windows 2000/XP/2003
You ask a number of questions, but to fix a certain one may fix the rest. You tend to believe that the pc will logon first by default, into the Admin account. The default is not to autologon into the Admin account. It needs to be specified in Winnt.sif to allow Admin autologon to happen. To allow autologon into the Admin account, you must have AutoLogon = Yes under the GuiUnattended section of Winnt.sif. If this was not intended by yourself, then setting it to No would solve your other questions. You can use a cmd or a reg file to set autologon into your account. If you use Oobeinfo.ini, then a single user entry enables autologon for that user. Changing the Admin autologon and setting the user to autologon will make you other questions obsolete. -
You could do that. That is 2 digits for each entry that you show. i.e. 01,02,03,04,05....14,15,16,17.....