Darfi Posted January 29, 2013 Share Posted January 29, 2013 (edited) Hi all,Im noob in AutoIt:) could you please tell me how make simple installator:- I will need to run some simple parameters which run some external file in graphical mode but in this I need to change some parameters (rollbox probably).For example what Ineed to run:"start /wait msiexec.exe /i "XXXXXX.msi" /l*v "%temp%XXXXXXXX.log" AGENT_SERVER= Parameters which i need to change"I was start with this(Its without any condition):#Region ### START Koda GUI section ### Form=C:\Data\03_Application\KODA\Forms\01_test.kxf ; Main menu table__________________________________ $CA_ITCM = GUICreate("CA_ITCM", 615, 421, 388, 411) GUISetIcon("C:\feed_viewer_setup.exe", -1); GUISetFont(10, 400, 0, "MS Sans Serif") GUISetBkColor(0xFFFFFF) ;Progress button__________________________________ $Progress = GUICtrlCreateProgress(8, 376, 593, 25) GUICtrlSetResizing(-1, $GUI_DOCKBOTTOM) ;Switch button___________________________________ $Change_button = GUICtrlCreateCombo("Choose location", 24, 104, 145, 25, BitOR($CBS_DROPDOWN,$CBS_AUTOHSCROLL)) GUICtrlSetData(-1, "[b]XXXXX|YYYYY|ZZZZZ|AAAAAAA[/b]") GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif") GUICtrlSetCursor (-1, 0) ;PICture $Pic1 = GUICtrlCreatePic("C:\suit.jpg", 184, -40, 505, 401); ;Start Install button $Start_install = GUICtrlCreateButton("Start Install", 24, 208, 145, 113) GUICtrlSetBkColor(-1, 0xE3E3E3) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ###Could you help me how to solve it?Thank you for response Edited January 29, 2013 by Darfi Link to comment Share on other sites More sharing options...
Chimaera Posted January 29, 2013 Share Posted January 29, 2013 Have a look at Run e.g. Run("msiexec /i " & '"' & $scriptDir & "\Software\" & $fileName & '" ' & $switch) obviously i have set variables to the names and switches but it will give you the basic idea If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
hogfan Posted January 29, 2013 Share Posted January 29, 2013 For creating an installation/setup package I would actually recommend using InnoSetup. It is free and is very easy to use. This what I use to install my AutoIT created application on users workstations. -hogfan Link to comment Share on other sites More sharing options...
Bert Posted January 29, 2013 Share Posted January 29, 2013 If you want an installer launcher look at the Vollatran project (link in my signature) Darfi 1 The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted January 29, 2013 Moderators Share Posted January 29, 2013 For creating an installation/setup package I would actually recommend using InnoSetup. It is free and is very easy to use. This what I use to install my AutoIT created application on users workstations.-hogfanIn this case, however, the OP states it is already an MSI package. Best practice is not to repackage an already-repackaged application. Many companies now say that if you do so, they will not support the product. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Darfi Posted February 1, 2013 Author Share Posted February 1, 2013 If you want an installer launcher look at the Vollatran project (link in my signature)Im looking on it. Its seems very nice 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