Jump to content

radix

Member
  • Posts

    755
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Romania

Everything posted by radix

  1. All runtimes.
  2. Hi, When I click Start->Run->Browse, the default extension on "Files of type" is always "Programs". What registry tweak I need to opens always with "All Files"?
  3. Use a batch file: @echo off regedit /s settings.reg exit Build the sfx archive. Set the batch file to run after extraction.
  4. Read this. If you don't like this method, load your registry entries in nLite in Unattended->RunOnce Example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl] "AutoReboot"=dword:00000000 you need to convert to: REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v "AutoReboot" /t REG_DWORD /d "0" /f This is batch scripting.
  5. Answer for first question: REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "1" /f or REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v "SaveZoneInformation" /t REG_DWORD /d "2" /f For the second question: is better to read again the unattended guide.
  6. I have tested again today and it's working.
  7. If I knew a switch for silent install, I didn't made a script. Install AutoIt program, save the code from my previous post as .au3 and compile it (right click->compile). Then copy compiled file in the same folder with installer and run compiled file (like a batch file).
  8. AutoIt: Shutdown(1) You can compile the script and call it from a batch file.
  9. Try this AutoIt code: Opt("TrayIconDebug", 1) ; Executable file name $Executable = "install72.exe" ; Application Directory $ApplicationDirectory = @HomeDrive & "\Tally" ; Data Directory $DataDirectory = @HomeDrive & "\Tally\Data" ; Configuration Directory $ConfigurationDirectory = @HomeDrive & "\Tally" ; Run Tally License Server at Windows Startup (For TallyGold Users) $LicenseServer = "0" If FileExists($ApplicationDirectory & "\tally72.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Tally before using this script", 4) Exit EndIf ; Run the installer Run($EXECUTABLE) ; New Installation WinWait("Tally ies 7.2 Setup", "New Installation") WinActivate("Tally ies 7.2 Setup", "New Installation") ControlSetText("Tally ies 7.2 Setup", "New Installation", "Edit1", "") Sleep(1000) ControlSetText("Tally ies 7.2 Setup", "New Installation", "Edit1", $ApplicationDirectory) ControlSetText("Tally ies 7.2 Setup", "New Installation", "Edit2", "") Sleep(1000) ControlSetText("Tally ies 7.2 Setup", "New Installation", "Edit2", $DataDirectory) ControlSetText("Tally ies 7.2 Setup", "New Installation", "Edit3", "") Sleep(1000) ControlSetText("Tally ies 7.2 Setup", "New Installation", "Edit3", $ConfigurationDirectory) If $LicenseServer = "1" Then ControlCommand("Tally ies 7.2 Setup", "New Installation", "Button9", "Check", "") EndIf ControlClick("Tally ies 7.2 Setup", "New Installation", "Button1") ; Tally Installation Successful WinWait("Tally ies 7.2 Setup", "Tally Installation Successful") WinActivate("Tally ies 7.2 Setup", "Tally Installation Successful") ControlClick("Tally ies 7.2 Setup", "Tally Installation Successful", "Button1") If you want to install in Program Files folder, change @HomeDrive string from those 3 variables with @ProgramFilesDir
  10. That method described here doesn't work. The file must be deleted or renamed. Or use a msi editor to disable the service.
  11. I installed firefox from a batch file with this command: rundll32.exe advpack.dll,LaunchINFSection Install.inf, DefaultInstall Nice and easy with all settings. Thanks Acheron
  12. New script for DAEMON Tools Lite 4.12.4: Opt("TrayIconDebug", 1) ; Executable file name $EXECUTABLE = "daemon4124-lite.exe" ; Run Daemon Tools on Windows startup $Autostart = "0" ; Automount $Automount = "1" ; Window title $title = "DAEMON Tools Lite 4.12.4" ; Detect the Operating System type (32 bit or 64 bit) $OS = _OSBit() If $OS = 32 Then ; Installation folder $INSTALLLOCATION = @ProgramFilesDir & "\DAEMON Tools Lite" If FileExists($INSTALLLOCATION & "\daemon.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of DAEMON Tools Lite before using this script", 4) Exit EndIf ; Disable the default internet browser (to prevent daemon.exe to open it) $DefBrowser = RegRead("HKCR\HTTP\shell\open\command\", "") RegDelete("HKCR\HTTP\shell\open\command\", "") ; Read from registry which is the home page of Internet Explorer (to restore it after the installation of DAEMON Tools Lite) $HomePage = RegRead("HKCU\Software\Microsoft\Internet Explorer\Main", "Start Page") ; Run the installer Run($EXECUTABLE & " /S") ; Start checking for a window AdlibEnable('_Adlib') ProcessWaitClose($EXECUTABLE) Sleep(1000) ; Close browsers processes $PID = ProcessExists("firefox.exe") If $PID Then ProcessClose($PID) EndIf $PID = ProcessExists("IEXPLORE.EXE") If $PID Then ProcessClose($PID) EndIf $PID = ProcessExists("opera.exe") If $PID Then ProcessClose($PID) EndIf ; Restore the default internet browser RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $DefBrowser) ; Restore the home page of Internet Explorer RegWrite("HKCU\Software\Microsoft\Internet Explorer\Main", "", "REG_SZ", $HomePage) ; Delete DAEMON Tools Toolbar folder and registry entries made during installation process FileDelete($INSTALLLOCATION & "\DAEMON Tools Toolbar.exe") DirRemove(@ProgramFilesDir & "\DAEMON Tools Toolbar", 1) RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\InprocServer32") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\ProgID") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\Programmable") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\TypeLib") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\VersionIndependentProgID") RegDelete("HKCR\DTToolbar.ToolBandObj") RegDelete("HKCR\DTToolbar.ToolBandObj\CLSID") RegDelete("HKCR\DTToolbar.ToolBandObj\CurVer") RegDelete("HKCR\DTToolbar.ToolBandObj.1") RegDelete("HKCR\DTToolbar.ToolBandObj.1\CLSID") RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mds") RegDelete("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Toolbar") ; Automount If $Automount = "1" Then IniWrite(@AppDataDir & "\DAEMON Tools\daemontools.ini", "Global", "Automount", 1) EndIf ; Block DAEMON Tools to run on Windows startup If $Autostart = 0 Then RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "DAEMON Tools Lite") EndIf IniWrite(@AppDataDir & "\DAEMON Tools\daemontools.ini", "Global", "Autostart", 0) ; Add uninstall entries RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayName", "REG_SZ", "DAEMON Tools Lite 4.12.4") RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "UninstallString", "REG_SZ", $INSTALLLOCATION & "\uninst.exe") RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "InstallLocation", "REG_SZ", $INSTALLLOCATION) RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayIcon", "REG_SZ", $INSTALLLOCATION & "\daemon.exe") ; Stop checking for a window AdlibDisable() EndIf If $OS = 64 Then ; Installation folder $INSTALLLOCATION = @HomeDrive & "\Program Files (x86)\DAEMON Tools Lite" If FileExists($INSTALLLOCATION & "\daemon.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of DAEMON Tools before using this script", 4) Exit EndIf ; Disable the default internet browser (to prevent daemon.exe to open it) $DefBrowser = RegRead("HKCR\HTTP\shell\open\command\", "") RegDelete("HKCR\HTTP\shell\open\command\", "") ; Read from registry which is the home page of Internet Explorer (to restore it after the installation of DAEMON Tools Lite) $HomePage = RegRead("HKCU\Software\Microsoft\Internet Explorer\Main", "Start Page") ; Run the installer Run($EXECUTABLE & " /S") ; Start checking for a window AdlibEnable('_Adlib') ProcessWaitClose($EXECUTABLE) Sleep(1000) ; Close browsers processes $PID = ProcessExists("firefox.exe") If $PID Then ProcessClose($PID) EndIf $PID = ProcessExists("IEXPLORE.EXE") If $PID Then ProcessClose($PID) EndIf $PID = ProcessExists("opera.exe") If $PID Then ProcessClose($PID) EndIf ; Restore the default internet browser RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $DefBrowser) ; Restore the home page of Internet Explorer RegWrite("HKCU\Software\Microsoft\Internet Explorer\Main", "", "REG_SZ", $HomePage) ; Delete DAEMON Tools Toolbar folder and registry entries made during installation process FileDelete($INSTALLLOCATION & "\DAEMON Tools Toolbar.exe") DirRemove(@HomeDrive & "\Program Files (x86)\DAEMON Tools Toolbar", 1) RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\InprocServer32") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\ProgID") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\Programmable") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\TypeLib") RegDelete("HKCR\CLSID\{32099AAC-C132-4136-9E9A-4E364A424E17}\VersionIndependentProgID") RegDelete("HKCR\DTToolbar.ToolBandObj") RegDelete("HKCR\DTToolbar.ToolBandObj\CLSID") RegDelete("HKCR\DTToolbar.ToolBandObj\CurVer") RegDelete("HKCR\DTToolbar.ToolBandObj.1") RegDelete("HKCR\DTToolbar.ToolBandObj.1\CLSID") RegDelete("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.mds") RegDelete("HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Toolbar") ; Automount If $Automount = "1" Then IniWrite(@AppDataDir & "\DAEMON Tools\daemontools.ini", "Global", "Automount", 1) EndIf ; Block DAEMON Tools to run on Windows startup If $Autostart = 0 Then RegDelete("HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "DAEMON Tools Lite") EndIf IniWrite(@AppDataDir & "\DAEMON Tools\daemontools.ini", "Global", "Autostart", 0) ; Add uninstall entries RegWrite("HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayName", "REG_SZ", "DAEMON Tools Lite 4.12.4") RegWrite("HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "UninstallString", "REG_SZ", $INSTALLLOCATION & "\uninst.exe") RegWrite("HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "InstallLocation", "REG_SZ", $INSTALLLOCATION) RegWrite("HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\DAEMON Tools Lite", "DisplayIcon", "REG_SZ", $INSTALLLOCATION & "\daemon.exe") ; Stop checking for a window AdlibDisable() EndIf Func _Adlib() ; Please select a language. If WinExists($title, "") Then ControlClick($title, "", "Button1") EndIf EndFunc Func _OSBit() Local $tOS = DllStructCreate("char[256]") Local $aGSWD = DllCall("Kernel32.dll", "int", "GetSystemWow64Directory", "ptr", DllStructGetPtr($tOS), "int", 256) If IsArray($aGSWD) And DllStructGetData($tOS, 1) Then Return 64 Return 32 EndFunc
  13. Try this: Opt("TrayIconDebug", 1) ; Executable file name $EXECUTABLE = "ashampoo_burningstudio802_sm.exe" ; Serial number $SN = "" $PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Ashampoo Burning Studio 8_is1", "InstallLocation") If FileExists($PreviousInstallation & "\burningstudio.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Ashampoo Burning Studio before using this script", 4) Exit EndIf ; Disable the default internet browser (to prevent Ashampoo Burning Studio to open it) $DefBrowser = RegRead("HKCR\HTTP\shell\open\command\", "") RegDelete("HKCR\HTTP\shell\open\command\", "") ; Run the installer RunWait($EXECUTABLE & " /sp- /verysilent /norestart") ; Close Ashampoo Burning Studio process ProcessWait("burningstudio.exe") $PID = ProcessExists("burningstudio.exe") If $PID Then ProcessClose($PID) EndIf Sleep(1000) ; Kill Internet Explorer process if was started $PID = ProcessExists("IEXPLORE.EXE") If $PID Then ProcessClose($PID) EndIf ; Settings RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 8", "RegKey", "REG_SZ", $SN) RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 8\ash_inet", "InfoChannel_ashnews_Enabled", "REG_DWORD", "0") RegWrite("HKCU\Software\Ashampoo\Ashampoo Burning Studio 8\ash_inet", "InfoChannel_-updates-_Enabled", "REG_DWORD", "0") ; Restore the default internet browser RegWrite("HKCR\HTTP\shell\open\command\", "", "REG_SZ", $DefBrowser)
  14. I knew that all desktop icons were deleted. You use the script in Vista? Anyway the script is updated. See my previous post.
  15. Link for a previous version (free). It can be installed silent from .msi file. Working links are on the bottom of that page.
  16. After extraction, you can find the setup files here:%APPDATA%\Adobe\Reader 9.0\Setup Files\READER9
  17. mitsukai PM with exactly what you want to do. I am to lazy to read those threads from Install XP from USB stick forum.
  18. Are you sure that grub4dos need to be installed? I have downloaded grub4dos-0.4.3.zip and inside I don't see an installer.
  19. Hi, In fact is simple to do this. You need to check if the file called boot.ini exists on %systemdrive% (this file is located only on the main partition - where is installed the first Windows OS). The rest is simple.
  20. Your previous scripts works fine for me (with some changes like home page etc.). I will keep the first version.
  21. You don't need an AutoIt script, because the installer don't make registry keys (like Add or Remove Programs entry). Make a sfx archive from content of installation folder. Edit: if you still need the script, try this one: Opt("TrayIconDebug", 1) Opt("SendKeyDelay", 200) ; Executable file name $EXECUTABLE = "jv16_regcleaner.exe" ; Detect the Operating System type (32 bit or 64 bit) $OS = _OSBit() If $OS = 32 Then ; Installation folder $INSTALLLOCATION = @ProgramFilesDir & "\RegCleaner" EndIf If $OS = 64 Then ; Installation folder $INSTALLLOCATION = @HomeDrive & "\Program Files (x86)\RegCleaner" EndIf If FileExists($INSTALLLOCATION & "\RegCleanr.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of RegCleaner before using this script", 4) Exit EndIf ; Run the installer Run($EXECUTABLE) ; RegCleaner Setup: Installation Options WinWait("RegCleaner Setup: Installation Options", "This will install RegCleaner on your computer.") WinActivate("RegCleaner Setup: Installation Options", "This will install RegCleaner on your computer.") ControlClick("RegCleaner Setup: Installation Options", "", "Button1") ; RegCleaner Setup: Installation Directory WinWait("RegCleaner Setup: Installation Directory", "Please select a location to install RegCleaner (or use the default).") WinActivate("RegCleaner Setup: Installation Directory", "Please select a location to install RegCleaner (or use the default).") ControlSetText("RegCleaner Setup: Installation Directory", "", "Edit1", "") Sleep(1000) ControlSetText("RegCleaner Setup: Installation Directory", "", "Edit1", $INSTALLLOCATION) ControlClick("RegCleaner Setup: Installation Directory", "", "Button1") Func _OSBit() Local $tOS = DllStructCreate("char[256]") Local $aGSWD = DllCall("Kernel32.dll", "int", "GetSystemWow64Directory", "ptr", DllStructGetPtr($tOS), "int", 256) If IsArray($aGSWD) And DllStructGetData($tOS, 1) Then Return 64 Return 32 EndFunc
  22. doesnt work the reg goes to reg user and as the reg user numebr change ever time you install it fails, plus it doesnt merge correctly anyway, trust me i have tried ever way possiable Registration is located here: [HKEY_CURRENT_USER\Software\Smart Projects\IsoBuster] "ID"= "ID21"= "ID22"= "ID23"= "ID24"= "ID25"= "ID26"= and it works to import from an installation to another (for version 2.4.0.1) Edit: Disable online check (set it to Never): [HKEY_CURRENT_USER\Software\Smart Projects\IsoBuster] "VersionCheckCriteria"=dword:00000000
  23. Try my script. The script will install the components from screenshot. Edit: link
  24. I delete the entire folder c:\windows\driver cache\ and nothing happen.
×
×
  • Create New...