Jump to content

radix

Member
  • Posts

    755
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Romania

Everything posted by radix

  1. It works for int. setup, but need to extract the installer with 7-Zip, and run first from Opera Installer.exe. On first screen, choose your language, let say French (France), hit Ok and wait the next window, then go to %temp% and copy from one of those folders two files: Opera installer.msi and 1036.MST (needed for french lang). @echo off start /wait msiexec /i "Opera installer.msi" /qb! /norestart MULTI_USER_SETTING=0 CREATE_DESKTOP_ICON=1 CREATE_QUICKLAUNCH_ICON=1 ALLUSERS=1 TRANSFORMS="1036.MST" exit or @echo off start /wait msiexec /i "Opera installer.msi" /qb! /norestart MULTI_USER_SETTING=1 CREATE_DESKTOP_ICON=1 CREATE_QUICKLAUNCH_ICON=1 ALLUSERS=1 TRANSFORMS="1036.MST" exit
  2. You need to bypass the redirection mechanism which is present in 64 bit OS. An easy solution is to build a msi installer using InstallShield for example. If you want to use InstallShield, try read "Using 64-Bit Windows Installer Packages" section from help file. Read the first three points from there (are enough to transform a 32 bit installer into a 64 bit one). You can download and look inside the x64 7-Zip msi installer to make an idea.
  3. reg delete "HKCR\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shellex\ContextMenuHandlers\{645FF040-5081-101B-9F08-00AA002F954E}" /f Edit
  4. We can write a function which search and delete that icon.
  5. Try again with this: ; Intaller file name $Installer = "winamp5552_pro_all.exe" ; Create Start Menu folder $StartMenuFolder = 0 ; Keep the Desktop icon $DesktopIcon = 0 ; Keep the Quick Launch icon $QuickLaunchIcon = 0 ; Installation folder $InstallDir = @ProgramFilesDir & "\Winamp" $PreviousInstallation = RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winamp", "UninstallString") If StringRight($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimRight($PreviousInstallation, 1) EndIf If StringLeft($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimLeft($PreviousInstallation, 1) EndIf If FileExists($PreviousInstallation) Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Winamp before using this script", 4) Exit EndIf ; Start checking for Winamp Remote, Mozilla Firefox toolbar and Internet Explorer (7 or 8) toolbar installation processes AdlibEnable('_Adlib') ; Run the installer RunWait($Installer & " /S /D=" & $InstallDir) ; Uninstall 50 FREE MP3s +1 Free Audiobook! (bundle3.exe installer work too fast to be stopped) RunWait($InstallDir & "\eMusic\Uninst-eMusic-promotion.exe" & " /S") ; Create Start Menu folder If $StartMenuFolder = 1 Then DirCreate(@ProgramsCommonDir & "\Winamp") FileCreateShortcut($InstallDir & "\UninstWA.exe", @ProgramsCommonDir & "\Winamp\Uninstall Winamp.lnk", $InstallDir & "\Lang") FileCreateShortcut($InstallDir & "\whatsnew.txt", @ProgramsCommonDir & "\Winamp\What's New.lnk", $InstallDir & "\Lang") FileCreateShortcut($InstallDir & "\winamp.exe", @ProgramsCommonDir & "\Winamp\Winamp.lnk", $InstallDir & "\Lang") EndIf ; Delete the Desktop icon If $DesktopIcon = 0 Then FileDelete(@DesktopCommonDir & "\Winamp.lnk") EndIf ; Delete the Quick Launch icon If $QuickLaunchIcon = 0 Then FileDelete(@AppDataDir & "\Microsoft\Internet Explorer\Quick Launch\Winamp.lnk") EndIf ; Stop checking for Winamp Remote, Mozilla Firefox toolbar and Internet Explorer (7 or 8) toolbar installation processes AdlibDisable() Func _Adlib() ; Kill Winamp Remote installation process ProcessClose("bundle1.exe") ; Kill Mozilla Firefox toolbar installation process ProcessClose("bundle2.exe") ; Kill Internet Explorer 7 or 8 toolbar installation process ProcessClose("winamp_toolbar_ie.exe") EndFunc
  6. And another one ; Intaller file name $Installer = "winamp5552_pro_all.exe" ; Create Start Menu folder $StartMenuFolder = 0 ; Keep the Desktop icon $DesktopIcon = 0 ; Keep the Quick Launch icon $QuickLaunchIcon = 0 ; Installation folder $InstallDir = @ProgramFilesDir & "\Winamp" $PreviousInstallation = RegRead("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winamp", "UninstallString") If StringRight($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimRight($PreviousInstallation, 1) EndIf If StringLeft($PreviousInstallation, 1) = '"' Then $PreviousInstallation = StringTrimLeft($PreviousInstallation, 1) EndIf If FileExists($PreviousInstallation) Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Winamp before using this script", 4) Exit EndIf ; Start checking for Winamp Remote, Mozilla Firefox toolbar and Internet Explorer (7 or 8) toolbar installation processes AdlibEnable('_Adlib') ; Run the installer RunWait($Installer & " /S /D=" & $InstallDir) ; Uninstall 50 FREE MP3s +1 Free Audiobook! (bundle3.exe installer work too fast to be stopped) RunWait($InstallDir & "\eMusic\Uninst-eMusic-promotion.exe" & " /S") ; Create Start Menu folder If $StartMenuFolder = 1 Then DirCreate(@ProgramsCommonDir & "\Winamp") FileCreateShortcut($InstallDir & "\UninstWA.exe", @ProgramsCommonDir & "\Winamp\Uninstall Winamp.lnk", $InstallDir & "\Lang") FileCreateShortcut($InstallDir & "\whatsnew.txt", @ProgramsCommonDir & "\Winamp\What's New.lnk", $InstallDir & "\Lang") FileCreateShortcut($InstallDir & "\winamp.exe", @ProgramsCommonDir & "\Winamp\Winamp.lnk", $InstallDir & "\Lang") EndIf ; Delete the Desktop icon If $DesktopIcon = 0 Then FileDelete(@DesktopCommonDir & "\Winamp.lnk") EndIf ; Delete the Quick Launch icon If $QuickLaunchIcon = 0 Then FileDelete(@AppDataDir & "\Microsoft\Internet Explorer\Quick Launch\Winamp.lnk") EndIf Sleep(3000) ; Close Au_.exe process $PID = ProcessExists("Au_.exe") If $PID Then ProcessClose($PID) EndIf ; Stop checking for Winamp Remote, Mozilla Firefox toolbar and Internet Explorer (7 or 8) toolbar installation processes AdlibDisable() ; Clean the Temp folder #include ;#include $avDirList1 = _FileListToArray(@TempDir, "n*.tmp", 2) ;_ArrayDisplay($avDirList2) If IsArray($avDirList1) Then For $n = 1 To $avDirList1[0] $sPath = @TempDir & "\" & $avDirList1[$n] If FileExists($sPath & "\") Then DirRemove($sPath, 1) EndIf Next EndIf $avDirList1 = _FileListToArray(@TempDir, "~nsu.tmp", 2) ;_ArrayDisplay($avDirList2) If IsArray($avDirList1) Then For $n = 1 To $avDirList1[0] $sPath = @TempDir & "\" & $avDirList1[$n] If FileExists($sPath & "\") Then DirRemove($sPath, 1) EndIf Next EndIf Func _Adlib() ; Kill Winamp Remote installation process ProcessClose("bundle1.exe") ; Kill Mozilla Firefox toolbar installation process ProcessClose("bundle2.exe") ; Kill Internet Explorer 7 or 8 toolbar installation process ProcessClose("winamp_toolbar_ie.exe") EndFunc Silent installation, all icons, Winamp Remote and toolbars will be removed.
  7. Norton Ghost 2003 from bootable floppy. My tip: use it without compression.
  8. These comands work in a batch file, using msi file (grab from Temp folder): msiexec /i "Opera installer.msi" /qb! /norestart CREATE_DESKTOP_ICON=1 CREATE_QUICKLAUNCH_ICON=1 ALLUSERS=1 or msiexec /i "Opera installer.msi" /qb! /norestart MULTI_USER_SETTING=0 CREATE_DESKTOP_ICON=1 CREATE_QUICKLAUNCH_ICON=1 ALLUSERS=1
  9. Why you don't use switches to silent install applications and after installation apply registry settings from a reg, cmd or inf file? Almost all programs can be configured from such methods, but you need to discover where is stored those settings (registry, ini file or else). For this you can use wininstall le, regshot, systracer. Repackage with programs like installrite is not a good option (some installers may be work different in Vista then XP for example).
  10. Put somewhere a command to kill Internet Explorer process: taskkill /f /im iexplore.exe at the proper moment (after installation) or delete %program files%\HP\SmartStart\default.htm if is safe.
  11. Add a comand on the bottom of your RunOnceEx.cmd file (like for programs you want to install). It's all in the MSFN Unattended Guide.
  12. When you build the installer, in Options window click Install Subtitutions and check Allow Relocation, then check Quiet installation mode and Never reboot even if needed. I tried to change icon and version info with ResHacker and result in an invalid file. Also I tried with upx and PECompact to recompress the exe build by InstallRite and not working. If you stick with InstallRite, is better to use it in a clean virtual machine for every setup you build.
  13. Welcome to the forum. Tested with iso images and it's working. Probably it should be better to use inf scripting because it can replace C:\Program Files with %16422%. And what about add another reg entries for unmounting images (if possible). Thanks.
  14. You have one option: to install in a virtual machine.
  15. Probably you need to install Microsoft Visual C++ 2005 prior to AVG.
  16. iColorFolder 1.4.2 with Additional Skin Pack 1.2.1 Download link MD5: 27A7B65C7B480E318603FA634F9B2DA
  17. Begin installation and at first screen go to your temp folder (C:\Documents and Settings\Your Name\Local Settings\Temp) and grab from there the .msi file (SBVIPRE_EN.msi). SBVIPRE_EN.msi /qb! /norestart or SBVIPRE_EN.msi /qn /norestart
  18. I'm not sure, but if you use %16422% instead of %24%PROGRA~1 will not work (you need short path names there). Again I am not sure, but you can try and see if the registry is OK. Edit: I use inf method to import registry. You can use inf to install your files too, not only for import registry.
  19. radix

    problem with nlite

    1.You need to build add-ons for applications or download them from this section. Use search. 2.IE8 is not suported by nLite, but you can download an addon (from nLite add-ons forum) or build one. And probably you need to read the Unattended Guide.
  20. You can use %24% instead of C:\ Edit: Dir ID's in inf: http://msdn.microsoft.com/en-us/library/ms790220.aspx 01 SourceDrive:\pathname (the directory from which the INF file was installed) 10 Windows directory - This is equivalent to %windir%. 11 System directory - This is equivalent to %windir%\system32 for NT-based systems, and to %windir%\system for Windows 9x/Me. 12 Drivers directory - This is equivalent to %windir%\system32\drivers for NT-based platforms, and to %windir%\system\IoSubsys on Windows 9x/Me platforms. 17 INF file directory 18 Help directory 20 Fonts directory 21 Viewers directory 23 Color directory (ICM) (not used for installing printer drivers) 24 Root directory of the system disk. - This is the root directory of the disk on which Windows files are installed. For example, if dirid 10 is "C:\winnt", then dirid 24 is "C:\". 25 Shared directory 30 Root directory of the boot disk, also known as "ARC system partition," for NT-based systems. (This might or might not be the same directory as the one represented by dirid 24.) 50 System directory for NT-based operating systems - This is equivalent to %windir%\system (NT-based systems only). 51 Spool directory (not used for installing printer drivers - see Printer Dirids) 52 Spool drivers directory (not used for installing printer drivers) 53 User profile directory 54 Directory where ntldr.exe and osloader.exe are located (NT-based systems only) 55 Print processors directory (not used for installing printer drivers) -1 Absolute path Dirid values from 16384 through 32767 are reserved for special shell folders. The following table shows dirid values for these folders. DESKTOP 16384 // INTERNET 16385 // Internet Explorer (icon on desktop) PROGRAMS 16386 // Start Menu\Programs CONTROLS 16387 // My Computer\Control Panel PRINTERS 16388 // My Computer\Printers MYDOCUMENTS 16389 // My Documents FAVORITES 16390 // \Favorites STARTUP 16391 // Start Menu\Programs\Startup RECENT 16392 // \Recent SENDTO 16393 // \SendTo BITBUCKET 16394 // \Recycle Bin STARTMENU 16395 // \Start Menu [unused] 16396 MYMUSIC 16397 // "My Music" folder MYVIDEO 16398 // "My Videos" folder [unused] 16399 DESKTOPDIRECTORY 16400 // \Desktop DRIVES 16401 // My Computer NETWORK 16402 // Network Neighborhood (My Network Places) NETHOOD 16403 // \nethood FONTS 16404 // windows\fonts TEMPLATES 16405 COMMON_STARTMENU 16406 // All Users\Start Menu COMMON_PROGRAMS 16407 // All Users\Start Menu\Programs COMMON_STARTUP 16408 // All Users\Startup COMMON_DESKTOPDIRECTORY 16409 // All Users\Desktop APPDATA 16410 // \Application Data PRINTHOOD 16411 // \PrintHood LOCAL_APPDATA 16412 // \Local Settings\Applicaiton Data (non roaming) ALTSTARTUP 16413 // non localized startup COMMON_ALTSTARTUP 16414 // non localized common startup COMMON_FAVORITES 16415 INTERNET_CACHE 16416 COOKIES 16417 HISTORY 16418 COMMON_APPDATA 16419 // All Users\Application Data WINDOWS 16420 // GetWindowsDirectory() SYSTEM 16421 // GetSystemDirectory() PROGRAM_FILES 16422 // C:\Program Files MYPICTURES 16423 // C:\Program Files\My Pictures PROFILE 16424 // USERPROFILE SYSTEMX86 16425 // x86 system directory on RISC (C:\WINDOWS\SysWOW64) PROGRAM_FILESX86 16426 // x86 C:\Program Files on RISC (C:\Program Files (x86)) PROGRAM_FILES_COMMON 16427 // C:\Program Files\Common Files PROGRAM_FILES_COMMONX86 16428 // x86 Program Files\Common on RISC (C:\Program Files (x86)\Common Files) COMMON_TEMPLATES 16429 // All Users\Templates COMMON_DOCUMENTS 16430 // All Users\Documents COMMON_ADMINTOOLS 16431 // All Users\Start Menu\Programs\Administrative Tools ADMINTOOLS 16432 // \Start Menu\Programs\Administrative Tools CONNECTIONS 16433 // Network and Dial-up Connections [unused] 16434 [unused] 16435 [unused] 16436 COMMON_MUSIC 16437 // All Users\My Music COMMON_PICTURES 16438 // All Users\My Pictures COMMON_VIDEO 16439 // All Users\My Video RESOURCES 16440 // Resource Direcotry RESOURCES_LOCALIZED 16441 // Localized Resource Direcotry COMMON_OEM_LINKS 16442 // Links to All Users OEM specific apps CDBURN_AREA 16443 // USERPROFILE\Local Settings\Application Data\Microsoft\CD Burning [unused] 16444 COMPUTERSNEARME 16445 // Computers Near Me (computered from Workgroup membership)
  21. I add an AutoIt script. #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.0.0 Author: myName Ext2 Installable File System For Windows 1.11a Application site: [url="http://www.fs-driver.org/"]http://www.fs-driver.org/[/url] Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Opt("TrayIconDebug", 1) ; Installer file name $Installer = "Ext2IFS_1_11a.exe" ; Enable the read-only option $Enable_the_read_only_option = 0 ; Enable UTF-8 encoding $Enable_UTF_8_encoding = 1 ; Enable the large file feature $Enable_the_large_file_feature = 1 ; Assign drive letter automatically upon plugging in a device the first time $Assign_drive_letter = 0 ; Run the installer Run($Installer) ; Welcome WinWait("Welcome", "It is recommended that you exit any further Windows application before you proceed with this setup.") WinActivate("Welcome", "It is recommended that you exit any further Windows application before you proceed with this setup.") ControlClick("Welcome", "It is recommended that you exit any further Windows application before you proceed with this setup.", "Button2") ; License WinWait("License", "Please read the following license contract carefully.") WinActivate("License", "Please read the following license contract carefully.") ControlCommand("License", "Please read the following license contract carefully.", "Button5", "Check", "") ControlClick("License", "Please read the following license contract carefully.", "Button2") ; Read-Only Option WinWait("Read-Only Option", "Choose whether you want to prevent the Ext2 driver from writing to any of the available volumes.") WinActivate("Read-Only Option", "Choose whether you want to prevent the Ext2 driver from writing to any of the available volumes.") If $Enable_the_read_only_option = 1 Then ControlCommand("Read-Only Option", "Choose whether you want to prevent the Ext2 driver from writing to any of the available volumes.", "Button8", "Check", "") EndIf ControlClick("Read-Only Option", "Choose whether you want to prevent the Ext2 driver from writing to any of the available volumes.", "Button2") ; UTF-8 Encoding WinWait("UTF-8 Encoding", "When accessing an Ext2 volume, you have to decide whether to enable UTF-8 encoding.") WinActivate("UTF-8 Encoding", "When accessing an Ext2 volume, you have to decide whether to enable UTF-8 encoding.") If $Enable_UTF_8_encoding = 0 Then ControlCommand("UTF-8 Encoding", "When accessing an Ext2 volume, you have to decide whether to enable UTF-8 encoding.", "Button9", "UnCheck", "") EndIf ControlClick("UTF-8 Encoding", "When accessing an Ext2 volume, you have to decide whether to enable UTF-8 encoding.", "Button2") ; Large File Feature WinWait("Large File Feature", "Now you have to decide whether to switch on the large file feature of all the volumes with the Ext2 file system.") WinActivate("Large File Feature", "Now you have to decide whether to switch on the large file feature of all the volumes with the Ext2 file system.") If $Enable_the_large_file_feature = 0 Then ControlCommand("Large File Feature", "Now you have to decide whether to switch on the large file feature of all the volumes with the Ext2 file system.", "Button10", "UnCheck", "") EndIf ControlClick("Large File Feature", "Now you have to decide whether to switch on the large file feature of all the volumes with the Ext2 file system.", "Button2") ; Drive Letters WinWait("Drive Letters", "Now you have to create the drive letters of your volumes with the Ext2 file system. Note: You may resize the whole dialog for better working.") WinActivate("Drive Letters", "Now you have to create the drive letters of your volumes with the Ext2 file system. Note: You may resize the whole dialog for better working.") If $Assign_drive_letter = 1 Then ControlCommand("Drive Letters", "Now you have to create the drive letters of your volumes with the Ext2 file system. Note: You may resize the whole dialog for better working.", "Button11", "Check", "") EndIf ControlClick("Drive Letters", "Now you have to create the drive letters of your volumes with the Ext2 file system. Note: You may resize the whole dialog for better working.", "Button2") ; Readme WinWait("Readme", "You may read the following release notes, print them or save them to disk for later reading. Note: You may resize the whole dialog for better reading.") WinActivate("Readme", "You may read the following release notes, print them or save them to disk for later reading. Note: You may resize the whole dialog for better reading.") ControlClick("Readme", "You may read the following release notes, print them or save them to disk for later reading. Note: You may resize the whole dialog for better reading.", "Button2") ; Finished WinWait("Finished", "The Ext2 Installable File System Software has been installed successfully on your computer.") WinActivate("Finished", "The Ext2 Installable File System Software has been installed successfully on your computer.") ControlClick("Finished", "The Ext2 Installable File System Software has been installed successfully on your computer.", "Button4") Func OnAutoItStart() ; One script instance only If WinExists(@ScriptName & '_Interpreter') Then Exit AutoItWinSetTitle(@ScriptName & '_Interpreter') EndFunc Edit.
  22. SPTDinst-v158-x86.exe add /q or SPTDinst-v158-x64.exe add /q should work.
  23. You need to import some information into registry. To make an idea try U.E. on U.E. installer, open install_script.iss and look in [Registry] section. Those entries with "shell" integrate the program in context menu, but probably all registry entries are necessary.
×
×
  • Create New...