Bert Posted September 21, 2005 Share Posted September 21, 2005 I built a good program I need to get to users. It has about 20 files, and I have gone through 3 versions of the software. Has anyone built a script that will package things for distribution? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Insolence Posted September 21, 2005 Share Posted September 21, 2005 Like WinZip or WinRar? "I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar. Link to comment Share on other sites More sharing options...
Uten Posted September 21, 2005 Share Posted September 21, 2005 I personaly have good experience with:http://nsis.sourceforge.net/RegardsUten Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Bert Posted September 21, 2005 Author Share Posted September 21, 2005 I found something, and I'm testing it now. I tried WinZip, but it didn't do what I wanted. I was hoping for something like installshield, except a simple free version. I was hoping someone had a script that worked in that manner The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
BigDod Posted September 21, 2005 Share Posted September 21, 2005 You could try Instyler Ex-it available from www.instyler.com. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
jftuga Posted September 21, 2005 Share Posted September 21, 2005 Also, try out Inno Setup...http://www.jrsoftware.org/isinfo.phpI think that it is much easier than NSIS.-John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile Link to comment Share on other sites More sharing options...
Developers Jos Posted September 21, 2005 Developers Share Posted September 21, 2005 The installer for AutoIt3 and SciTE4AutoIt3 are build with NSIS.... pretty nice installer builder. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Valuater Posted September 21, 2005 Share Posted September 21, 2005 this is the easyist installer i know ofhttp://www.clickteam.com/English/install_creator.htm8) Link to comment Share on other sites More sharing options...
sykes Posted September 21, 2005 Share Posted September 21, 2005 I've always used Ghost Installer for my personal use. They have a completely free version.http://www.ethalone.com/download.php We have enough youth. How about a fountain of SMART? Link to comment Share on other sites More sharing options...
Valuater Posted September 21, 2005 Share Posted September 21, 2005 (edited) actuallly (because you have more than 1 file) if you "zip" it first then you can use my installerheres the picheres the codeexpandcollapse popup; set program install info ;-------------------------------------------------------------------------------- ; program to install $Key = "Test" $Name = "Organ.exe" $Start_Folder = "\QTasc - Toy BOX\" $Location = @ProgramFilesDir & "\QTasc\ToyBOX\" ; place program into the installer $Program_1 = @TempDir & "\Temp.exe" FileInstall("C:\XPClean-web\Toy BOX\TB Programs\Organ.exe", $Program_1) ;-------------------------------------------------------------------------------- ;*** copy icon to other program ;$Logo_icon = @TempDir & "\Toy-Icon.ico" ;FileInstall("C:\XPClean-web\Settings\XPClean-pics\Toy-box-Icon.ico", $Logo_icon) ;GUISetIcon($Logo_icon) ;--------------------------------------------------------------------------------- #include "GUIConstants.au3" Dim $QT_web = "www.XPCleanMenu.HostRocket.com", $NoKey = "", $time = "800" Dim $ver = "2006A" ;install pics $Toy_Logo = @TempDir & "\Toy2-logo.jpg" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Toy-box2-jpg.jpg", $Toy_Logo) $Toy_Banner = @TempDir & "\Toy-banr.jpg" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Toy-box-jpg.jpg", $Toy_Banner) $Logo_icon = @TempDir & "\Toy-Icon.ico" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Toy-box-Icon.ico", $Logo_icon) $Sound_clk = @TempDir & "\Sound_clk.wav" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Sounds\Clickerx.wav", $Sound_clk) $Sound_grp = @TempDir & "\Sound_grp.wav" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Sounds\Group_open.wav", $Sound_grp) $Sound_bar = @TempDir & "\Sound_bar.wav" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Sounds\xpinfbar.wav", $Sound_bar) $Sound_lnk = @TempDir & "\Sound_lnk.wav" FileInstall("C:\XPClean-web\Settings\XPClean-pics\Sounds\Notify.wav", $Sound_lnk) ;display logo SplashImageOn("", $Toy_Banner, 400, 180, -1, -1, 1) SoundPlay ($Sound_lnk,1) Sleep(4000) SplashOff() Sleep($time) ;Set GUI $Toy_win = GUICreate(" QTasc - Toy BOX ver" & $ver, 329, 145) GUISetIcon($Logo_icon) ;GUISetBkColor(0x0066FF);0x0066FF); 0x00ff00) $Icon_1 = GUICtrlCreatePic($Toy_Logo, 245, 2, 75, 140) GUICtrlSetCursor(-1, 0) GUICtrlSetTip(-1, "Click here - to Donate Now!!") ;Create 2 buttons $button_1 = GUICtrlCreateButton("A&ccept", 30, 110, 80, 25) GUICtrlSetState(-1, $GUI_DEFBUTTON) $button_2 = GUICtrlCreateButton("C&ancel", 130, 110, 80, 25) ;create labels $label_1 = GUICtrlCreateLabel( "To install " & $Name & " now", 20, 15, 250, 20) GUICtrlSetFont(-1, 9, 650) $label_2 = GUICtrlCreateLabel( "Please enter your Validation Key", 20, 35, 250, 20) GUICtrlSetFont(-1, 9, 650) $label_3 = GUICtrlCreateLabel( "(The number given on your $10.95 Donation)", 10, 55, 250, 20) GUICtrlSetState(-1, $GUI_DISABLE) ;create text input $text = GUICtrlCreateInput("Welcome to the Toy BOX, by QTasc", 20, 75, 200, 20) GUICtrlSetState(-1, $GUI_FOCUS) ;Show the GUI DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Toy_win, "int", 1000, "long", 0x00040010);explode GUISetState(@SW_SHOW) ;sets tray icon opt("TrayMenuMode", 1); Default tray menu items (Script Paused/Exit) will not be shown. opt("TrayOnEventMode", 1) $donate_tray = TrayCreateItem("Make a Donation Now!!") TrayItemSetOnEvent(-1, "Set_Donation") TrayCreateItem("") $upgrade_tray = TrayCreateItem("Check New Releases") TrayItemSetOnEvent(-1, "Set_Update") TrayCreateItem("") $about_tray = TrayCreateItem("About QTasc") TrayItemSetOnEvent(-1, "Set_QT") TrayCreateItem("") $exit_tray = TrayCreateItem("Exit QTasc - Toy BOX") TrayItemSetOnEvent(-1, "Set_Exit") TraySetState() While 1 $msg = GUIGetMsg() Select Case $msg = $Icon_1 Call("Set_Donation") Case $msg = $button_2 Or $msg = $GUI_EVENT_CLOSE Call("Set_Exit") Case $msg = $button_1 SoundPlay($Sound_clk, 1) $msg1 = GUICtrlRead($text) If $msg1 = $Key Then MsgBox(64, "Validation Key Accepted", " Thank you!.. for your Donation! " & @CRLF & @CRLF & "Toy BOX - installing " & $Name & " ", 7) Call("Set_install") Else MsgBox(64, "Validation Key", "The Validation key was not correct! ", 7) $NoKey = $NoKey + 1 If $NoKey >= 3 Then Call("Set_Donation") $NoKey = "" EndIf EndIf EndSelect Sleep(50) WEnd Exit ; ------------------------------------ Functions ---------------------------------------------- Func Set_Update() SoundPlay($Sound_clk, 1) Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe " & $QT_web) WinWaitActive("") EndFunc;==>Set_Update Func Set_QT() SoundPlay($Sound_grp, 1) $iMsgBoxAnswer = MsgBox(32, " Toy BOX , by QTasc", "WHO IS, QT APPRAISAL SERVICE CO ?" & @CRLF & "" & @CRLF & "We are a Real Estate Appraisal Company based in Riverside, California. " & @CRLF & "" & @CRLF & "Thank you." & @CRLF & "" & @CRLF & "", 60) Select Case $iMsgBoxAnswer = -1;Timeout EndSelect SoundPlay($Sound_grp, 1) EndFunc;==>Set_QT Func Set_Exit() FileDelete($Program_1) SoundPlay($Sound_lnk, 1) DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Toy_win, "int", 1000, "long", 0x00050010);implode Sleep($time) Exit EndFunc;==>Set_Exit Func Set_Donation() SoundPlay($Sound_grp, 1) $PID = Run(@ProgramFilesDir & "\Internet Explorer\iexplore.exe https://www.paypal.com/xclick/business=xpcleanmenu@aol.com&amount=10%2e95&page_style=Primary&no_shipping=1&item_name=XPClean-Menu+Donation") WinWaitActive("") EndFunc;==>Set_Donate Func Set_install() GUICtrlDelete($label_3) GUICtrlDelete($button_1) GUICtrlDelete($button_2) GUICtrlDelete($text) ;create progress $Label_4 = GUICtrlCreateLabel(" Please Wait... ", 30, 110, 180, 25) GUICtrlSetFont(-1, 9, 650) $progress = GUICtrlCreateProgress(20, 75, 200, 20, $PBS_SMOOTH) GUICtrlSetState( -1, $GUI_SHOW) GUICtrlSetData($label_1, "Now installing " & $Name) GUICtrlSetData($label_2, "Loading installer...") Sleep($time) GUICtrlSetData($progress, 10) Sleep($time) GUICtrlSetData($label_2, "Checking for Toy BOX Folder...") GUICtrlSetData($progress, 20) Sleep($time) GUICtrlSetData($progress, 30) ; check if folder exists DirGetSize($Location) If @error = 1 Then DirCreate($Location) EndIf GUICtrlSetData($progress, 40) Sleep($time) GUICtrlSetData($label_2, "Checking for previous install...") GUICtrlSetData($progress, 50) Sleep($time) If FileExists($Location & $Name) Then $ans = MsgBox(68, "Previous Install Found", "Would you like to over-write the existing file? ") If $ans = 7 Then GUICtrlSetData($label_2, "Closing installer...") GUICtrlSetData($progress, 0) FileDelete($Program_1) Sleep($time + $time) Call("Set_Exit") EndIf EndIf GUICtrlSetData($label_2, "No previous installs found...") GUICtrlSetData($progress, 60) Sleep($time) GUICtrlSetData($label_2, "Copying files...") GUICtrlSetData($progress, 70) Sleep($time) FileCopy($Program_1, $Location & $Name, 1) GUICtrlSetData($label_2, "Creating Short-cuts...") GUICtrlSetData($progress, 80) Sleep($time) FileCreateShortcut($Location & $Name, @DesktopDir & "\" & $Name & ".lnk", "", "", "Starts " & $Name) DirCreate(@ProgramsCommonDir & $Start_Folder) FileCreateShortcut($Location & $Name, @ProgramsCommonDir & $Start_Folder & $Name & ".lnk", "", "", "Starts " & $Name) GUICtrlSetData($label_2, "Verifying install...") GUICtrlSetData($progress, 90) Sleep($time) If Not FileExists($Location & $Name) Then MsgBox(64, "Toy BOX Install Error", "The installer has found an Error and will now close... ", 4) GUICtrlSetData($label_2, "Closing installer...") GUICtrlSetData($progress, 0) FileDelete($Program_1) Sleep($time + $time) Call("Set_Exit") EndIf GUICtrlSetData($progress, 100) GUICtrlSetData($label_2, "Installation is complete...") Sleep($time + $time) GUICtrlSetData($label_2, "Closing installer...") FileDelete($Program_1) Sleep($time + $time) MsgBox(64, "Toy BOX Installer", "Toy BOX Installer will now start " & $Name & " and Exit... " & @CRLF & @CRLF & "Again... Thank You!! for your Donation ", 5) SoundPlay($Sound_lnk, 1) DllCall("user32.dll", "int", "AnimateWindow", "hwnd", $Toy_win, "int", 1000, "long", 0x00050010);implode Sleep($time) Run($Location & $Name) Exit EndFunc;==>Set_installhope that helps8) Edited October 14, 2005 by Valuater Link to comment Share on other sites More sharing options...
Zach Posted September 24, 2005 Share Posted September 24, 2005 A person posted innosetup above - which is very easyBut he posted a link to innosetup, which is not very easy http://www.istool.org/default.aspx/Then its very easy. Link to comment Share on other sites More sharing options...
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