NewLeafIT Posted September 20, 2010 Share Posted September 20, 2010 Ok, Installer Creator has been updated to v2.6, and is hopefully now compatible for AutoIt v3.2.0.1 --> v3.3.0.0. Download from here. I've just downloaded the Installer Creator, and got pretty excited, but I am having the old "Variable" error mentioned above. I downloaded the installer (v.2.7) using the URL listed here: http://www.autoitscript.com/forum/index.php?app=core&module=attach§ion=attach&attach_id=27195. I am running Windows XP, SP3. I have tried the Installer Creator on AutoIT v3.3.0.0 and v3.3.6.1, both of which give similar errors. (The error occurs when running the created setup exe, not during the build or creation) I have created my install package many times, and it creates fine. The error occurs when the installation is occurring. I have tried changing the build options in many ways, all with the same result. Here's the error: Title: "AutoIt Error" Message: Line 89 (File "C:\WINDOWS\Temp\[program name]\Installer.exe"): Error: Variable used without being declared. Any assistance is appreciated. Thanks! Link to comment Share on other sites More sharing options...
TheSaint Posted September 25, 2010 Author Share Posted September 25, 2010 I've just downloaded the Installer Creator, and got pretty excited, but I am having the old "Variable" error mentioned above. I downloaded the installer (v.2.7) using the URL listed here: http://www.autoitscript.com/forum/index....le=attach§ion=attach&attach_id=27195. I am running Windows XP, SP3. I have tried the Installer Creator on AutoIT v3.3.0.0 and v3.3.6.1, both of which give similar errors. (The error occurs when running the created setup exe, not during the build or creation) I have created my install package many times, and it creates fine. The error occurs when the installation is occurring. I have tried changing the build options in many ways, all with the same result. Here's the error: Title: "AutoIt Error" Message: Line 89 (File "C:\WINDOWS\Temp\[program name]\Installer.exe"): Error: Variable used without being declared. Any assistance is appreciated. Thanks! Sorry to take so long to get back to you NewLeafIT, I've been away from the web a few days ... happens now & then. It's been awhile since I've worked on that program (a year?), and I still use it nearly every day, so I'll need to look into it. It must be something unusual or I'd have more reports by now. It would also help (and may be necessary), if you create your installer using the don't delete scripts or somesuch option, then either check the faulty line in question (Installer.au3?) or maybe better still send it to me in a PM or post it here (the whole script (.au3) that is). If you feel you need to disguise names or text, then be careful how you do that, because I may need to do comparisons if the problem isn't easy to determine. It could be some kind of permission error with your temp folder, or something to do with the unzipping element (most likely), which I didn't create (_ZipFunctions.au3). Have you tried an install on another Win XP PC? Are you using the EXE or PACKAGE version? Though going by the Installer.exe error, that would probably be the EXE version. I use the PACKAGE version all the time now (except for one PC which I rarely install on, and which I deliberately use the EXE versions on when I do). I still however, create both types each time - with the older backed up versions of my programs having all but the last version EXE deleted from them (I always keep the zipped PACKAGES though for every version). Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
marko001 Posted September 7, 2011 Share Posted September 7, 2011 Do you still support this product, mate? Link to comment Share on other sites More sharing options...
nevodj Posted September 7, 2011 Share Posted September 7, 2011 try advancedinstaller.com or Installshield Wizard... Link to comment Share on other sites More sharing options...
TheSaint Posted September 9, 2011 Author Share Posted September 9, 2011 Do you still support this product, mate?Support is not really the correct term for a program I made for my own personal use but are happy to share.I still use the latest version (possibly not the one available here) every day.I'm aware of one issue in particular, related to permissions, that I will be looking more deeply into shortly. It's been mentioned here before, but until a virus recently made some changes to my Laptop, I couldn't replicate the issue on any of my PC's. What support are you after? There hasn't been much interest in my program for a while, but if someone were to ask nicely, I might just ensure that the latest version is available here, with the long overdue source code. Please note though, that I haven't used it beyond AutoIt version 3.3.0.0 ... I have periods where I get happily stuck in a time warp, and only update when something requires it. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
tes5884 Posted July 19, 2012 Share Posted July 19, 2012 TheSaint, Thank you for this piece if work. The Installer file doesn't include some of the necessary '#includes etc', I had to manually change them. Would you consider releasing the source code, so that someone with more time then yourself can update it? Thanks! www.tspitz.com Link to comment Share on other sites More sharing options...
TheSaint Posted July 22, 2012 Author Share Posted July 22, 2012 (edited) @tes5884 - I guess it may be your lucky day? Enjoy!I make no promises about this copy of version 2.9, as I didn't have a zip for it. Instead I replaced the exe in the version 2.8 zip, plus added a few other files - History.txt (text copied from the installer setup exe version), Installer Creator.au3 & Uninstall.au3 (sources) and a few other files related to the Uninstaller element. However, this is the version I've been using for quite some time now (in Windows XP mind) and it works well. I think that everything you need is in the zip. I have one or two further changes in store, or at least in my mind, but it remains to be seen whether I ever commit to them.Installer Creator v2.9.zipAs always, see my Disclaimer here. Edited August 22, 2012 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
tes5884 Posted July 22, 2012 Share Posted July 22, 2012 Thanks @TheSaint!! I'll take a look at it. www.tspitz.com Link to comment Share on other sites More sharing options...
tes5884 Posted August 6, 2012 Share Posted August 6, 2012 I updated the "#includes", works fine now Thanks again for the source TheSaintInstaller Creator v2.9.zip www.tspitz.com Link to comment Share on other sites More sharing options...
TheSaint Posted August 7, 2012 Author Share Posted August 7, 2012 (edited) No worries, thanks for that.Should no doubt change the version number to v3.0 now.I'm obviously still a bit behind the times and hadn't gotten around to all that.And not done much programming lately.I was going to look into addressing the permissions side of things at some point.I was also going to add the ability to run a program in the first stage of an uninstall. Typically this would be a program that would fix/cleanup/restore registry entries that could have been modified/created by the original installed program. I was thinking along the lines of running the original program exe with a switch, that would tell it to restore (etc) any changes it may have made. Once the exe closed, the uninstall would continue. Obviously, each person who created a program, would need to give their program that ability ... the Uninstaller element would only need to know the exe name and switch parameter, which would have been specified during the creation of the Installer. In very simplistic terms though, it could just run the original exe and prompt the user to undo any (system/reg) changes made by that program.You may have noticed, that the package feature (just a zip file for all program elements, along with an instructional ini file) requires my Universal Installer program? Essentially, that program offers two abilities - (1) If installed, you can right-click any suitable zip file, and tell it to install the program within the zip, getting presented with the same menu you would normally see from Installer Creator exe's. Or (2) Use it to create an install and uninstall on the fly, from any zip file containing a program exe.Obviously, when the package is created, you end up with a far smaller installer file, than the Setup exe, plus the added benefit of being just a zip file too, which allows complete manual extraction. For the install element to work though, every user of a package, has to have Universal Installer installed, plus be aware that it is accessed by a right-click context menu Install option.No doubt, the Includes for Universal Installer need to be updated. Sing out if you are interested in tackling that, and I'll provide the latest source.I tend to use the package feature all the time now, by preference. Edited August 7, 2012 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
tes5884 Posted August 7, 2012 Share Posted August 7, 2012 Sure thing. Send me the source for Universal Installer, and I'll take a look. www.tspitz.com Link to comment Share on other sites More sharing options...
TheSaint Posted August 21, 2012 Author Share Posted August 21, 2012 Sure thing. Send me the source for Universal Installer, and I'll take a look.I finally found the source of the latest version, and uploaded it to it's NOTEIt appears I had already done much of the following for Installer Creator, and forgotten about it. See it's Uninstall Options window.I was also going to add the ability to run a program in the first stage of an uninstall. Typically this would be a program that would fix/cleanup/restore registry entries that could have been modified/created by the original installed program. I was thinking along the lines of running the original program exe with a switch, that would tell it to restore (etc) any changes it may have made. Once the exe closed, the uninstall would continue. Obviously, each person who created a program, would need to give their program that ability ... the Uninstaller element would only need to know the exe name and switch parameter, which would have been specified during the creation of the Installer. In very simplistic terms though, it could just run the original exe and prompt the user to undo any (system/reg) changes made by that program.Not only had I forgotten about it, but I don't think I've yet used it. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) 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