Jump to content

sahra

Member
  • Posts

    19
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Israel

Everything posted by sahra

  1. thanks you but the "#include" is important? because its say Error : #include Error:Cannot parse #include and if i remove the "#include" its say Error: If _Singleton("Nullsoft Winamp 5.5.7.2830",1) = 0 Then If ^ ERROR Error: Unknown function name. what is the problem? make it #Include <Misc.au3> that should fix the problem thanks you very match its fix the problem thanks you to radix !!
  2. thanks you but the "#include" is important? because its say Error : #include Error:Cannot parse #include and if i remove the "#include" its say Error: If _Singleton("Nullsoft Winamp 5.5.7.2830",1) = 0 Then If ^ ERROR Error: Unknown function name. what is the problem?
  3. OK thanks you very match you really help me something last: #include If _Singleton("Nullsoft Winamp 5.5.7.2830",1) = 0 Then Exit EndIf i need to change "Nullsoft Winamp 5.5.7.2830" to my software Or it does not matter?
  4. its steal doesn't work for me i don't know why its not remove the Dir. i just want that if the MsgBox pop up so it will remove the installation Dir but if MsgBox not pop up so it remove the installation Dir after installation complete
  5. OK thanks you very match but i don't understand for what is that code: #include If _Singleton("Nullsoft Winamp 5.5.7.2830",1) = 0 Then Exit EndIf what its does? or i just need to replace this : ; Start checking AdlibEnable('_Adlib') in this: ; Start checking AdlibRegister("_Adlib") and it should work?
  6. not worked at all i try lot of scripts whit that Function but it always say Error: Unknown function name. why is that?
  7. i make silent install and i use this: $PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Registry Mechanic_is1", "InstallLocation") If StringRight($PreviousInstallation, 1) = '\' Then $PreviousInstallation = StringTrimRight($PreviousInstallation, 1) EndIf If FileExists($PreviousInstallation & "\RegMech.exe") Then MsgBox(0x40010, "Registry Mechanic 9", "Please uninstall previous version of Registry Mechanic before install the progarm..") Exit DirRemove(@AppdataDir & "\Registry Mechanic 9", 1) EndIf its not remove "Registry Mechanic 9" because the script process need to close and then remove the folder so i don't know what to do i want that after or before pressing OK button "Registry Mechanic 9" folder in AppdataDir will be removed thanks you
  8. Odd. Perhaps passing just "install.log" with my attempt may help but I would expect UnWise.exe to imply "install.log" by default. Try these attempts then ; try full path $path_MyShampoo = @ProgramFilesDir & '\MyAshampoo' RunWait('"' & $path_MyShampoo & '\UNWISE.exe" /S "' & $path_MyShampoo & '\install.log"') Notice the single/double quoting used above. ; try 8.3 path $path_MyShampoo = FileGetShortName(@ProgramFilesDir & '\MyAshampoo') RunWait('"' & $path_MyShampoo & '\UNWISE.exe" /S ' & $path_MyShampoo & '\install.log') @iamtheky I hope that I am not being overly intrusive. Now Work Perfect Thanks You Very Match!!!!!!!!
  9. I did not understand what I should do with that code
  10. sorry man dont work its show me to pick the install.log
  11. i compile the au3 file to exe and now i have compile au3 and my setup and i want to know how to compile them to one exe that will run the compile au3 and i want to write i My name in the setup.. and to do that the setp Could not be opened thank you all
  12. look what wrong: when i set: MsgBox(64, "test", @ProgramFilesDir & '\MyAshampoo\UNWISE.exe /S ' & $log) its work and when i set: Run(@ProgramFilesDir & '\MyAshampoo\UNWISE.exe /S ' & $log) its don't work i am sure the problem is the in the quotes the &log need to be with the exe together like here: Man really thanks you for your help and your time
  13. still don't work: $log = @ProgramFilesDir & '\MyAshampoo\install.log' Run(@ProgramFilesDir & '\MyAshampoo\UNWISE.exe /S ' & $log) it say could find install.log
  14. no its not working Because quotes the $log color is gray - $log and its need to be Bordeaux - $log
  15. Thanks you very match just one question, i write this: Run(@ProgramFilesDir & '\MyAshampoo\UNWISE.exe /S "C:\Program Files\MyAshampoo\install.log"') now i want to set that C:\Program Files\MyAshampoo\install.log will be @ProgramFilesDir\MyAshampoo\install.log or @HomeDrive\Program Files\MyAshampoo\install.log Is that possible?
  16. i have to open the install.log when i silented the uninstall so i try to do this: $file = FileOpen("INSTALL.LOG", 0) $line = FileRead($file) Run($line, 'UNWISE.exe /S') It does nothing
  17. i have a problem in script that i found in this forum the script: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.0.0 Author: myName Ashampoo Burning Studio 9.20 Application site: http://www2.ashampoo.com/webcache/html/1/product_2_2210___USD.htm Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here Opt("TrayIconDebug", 1) ; Installer file name $Installer = "ashampoo_burning_studio_9_9.20_sm.exe" ; Serial number $SN = "xxxxxx-xxxxxx-xxxxxx" $PreviousInstallation = RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Ashampoo Burning Studio 9_is1", "InstallLocation") If StringRight($PreviousInstallation, 1) = '\' Then $PreviousInstallation = StringTrimRight($PreviousInstallation, 1) EndIf If FileExists($PreviousInstallation & "\burningstudio9.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of Ashampoo Burning Studio before using this script", 4) Exit EndIf ; Save and disable the default internet browser (to prevent Ashampoo Burning Studio installer to open it at the end of installation) $DefaultHttpBrowser = RegRead("HKCR\http\shell\open\command\", "") $DefaultHttpsBrowser = RegRead("HKCR\https\shell\open\command\", "") RegDelete("HKCR\http\shell\open\command\", "") RegDelete("HKCR\https\shell\open\command\", "") ; Start checking AdlibEnable('_Adlib') ; Run the installer RunWait($Installer & " /sp- /verysilent /norestart") Sleep(2000) ; Settings RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9", "RegKey", "REG_SZ", $SN) RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9", "InfoChannelsEnabled", "REG_DWORD", "0") RegWrite("HKLM\Software\Ashampoo\Ashampoo Burning Studio 9\ash_inet", "Enabled", "REG_DWORD", "0") ; Restore the default internet browser RegWrite("HKCR\http\shell\open\command\", "", "REG_SZ", $DefaultHttpBrowser) RegWrite("HKCR\https\shell\open\command\", "", "REG_SZ", $DefaultHttpsBrowser) ; Delete page folder and Desktop icon DirRemove(@AppDataCommonDir & "\page", 1) FileDelete(@DesktopCommonDir & "\Go to WWW.THE-PAGE.COM.lnk") ; Stop checking AdlibDisable() Func _Adlib() ; Close MSN toolbar installation process $PID = ProcessExists("toolbarsetup_SL1.0_ash_de-DE.exe") If $PID Then ProcessClose($PID) EndIf ; Close Ashampoo Burning Studio process $PID = ProcessExists("burningstudio9.exe") If $PID Then ProcessClose($PID) EndIf ; Close Internet Explorer process if was started $PID = ProcessExists("IEXPLORE.EXE") If $PID Then ProcessClose($PID) EndIf EndFunc Func OnAutoItStart() ; One script instance only If WinExists(@ScriptName & '_Interpreter') Then Exit AutoItWinSetTitle(@ScriptName & '_Interpreter') EndFunc now when i run the script a msg show up that AdlibEnable('_Adlib') ^ERROR what is wrong in this script?
  18. Thanks you. bu the problem is that the check box "create a desktop icon" not selected and here i see just a command "NOICON" and i want icon i just need command that select the "create a desktop icon" box, Thanks..
  19. i make silent install for Trojan Remover 6 and after the installation there is no icon on desktop so my Question is if i need to edit the install.inf and how i get it from the setup.exe or there is Something else ? Sorry for my English
×
×
  • Create New...