Iuli Posted December 3, 2007 Posted December 3, 2007 (edited) Hi. I'll be quick ! i have problems with these lines of code.No entries are added to startup an the confirmation message is not shown ... Why ? If GUICtrlRead($TT)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "TrueTransparency", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Visual\TrueTransparency\TrueTransparency.exe"') EndIf If GUICtrlRead($ViOrb)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "ViOrb", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Visual\ViOrb\ViOrbv2.exe"') EndIf If GUICtrlRead($ViStart)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "ViStart", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Visual\ViStart\ViStart.exe"') Run(@ProgramFilesDir & '\CPanel\Visual\ViStart\installme.bat') EndIf If GUICtrlRead($WinFlip)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "WinFlip", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Visual\WinFlip\WinFlip.exe"') EndIf If GUICtrlRead($LClock)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "LClock", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Visual\LClock\LClock.exe"') EndIf If GUICtrlRead($Sidebar)=1 Then Run(@ProgramFilesDir & '\CPanel\Visual\Sidebar\Sidebar.exe /S /NCRC/') EndIf If GUICtrlRead($DeskSpace)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "DeskSpace", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Other\DeskSpace\deskspace.exe"') EndIf If GUICtrlRead($GlassToast)=1 Then RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "DeskSpace", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Other\GlassToast\GlassToast.exe"') EndIf If GUICtrlRead($QT)=1 Then Run(@ProgramFilesDir & '\CPanel\Other\QTAdressBar\QTAddressBar.exe /q') Run(@ProgramFilesDir & '\CPanel\Other\QTTabBar\QTTabBar.exe /q') EndIf If @error=1 Then MsgBox(0,"Done !","All entries were added to startup") EndIf Edited December 3, 2007 by Iuli [size="2"]SFXMaker[/size] - The most complete switchless installer creator software[indent][/indent]
Bert Posted December 3, 2007 Posted December 3, 2007 1. When you use GUICtrlRead, what is the output? put a msgbox on it and see what the output is. 2. RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "TrueTransparency", "REG_SZ", '"' & @ProgramFilesDir & '\CPanel\Visual\TrueTransparency\TrueTransparency.exe"') should be RegWrite("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "TrueTransparency", "REG_SZ", @ProgramFilesDir & '\CPanel\Visual\TrueTransparency\TrueTransparency.exe') The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now