Sign in to follow this  
Followers 0
Guest Greg

Need help with hanging install/setup program

4 posts in this topic

Hi all - I'm new to the board and I've been tinkering with automating an install program for a widespread program here at work. It doesn't have an msi file to install via Active Directory so we're looking to hook this up to the login scripts. Anyway, everything appears to be working great until the InstallShield wizard gets to 95% and the install hangs when being automated. Per the vendor, the install program is attempting to register files (ole) at this point. As soon as I exit the script, the install completes without a hitch. It doesn't appear to be the script causing the stopage as I put timers (sleep) and msgboxes into this part and these come up fine.

Any issues with AutoIt3 and this type of install? Any ideas on kickstarting the registration at this point? Seems to work fine when its run outside of the script, but I need to use the script to finish up the install and shutdown for the users since they don't have full rights, but this can run automated under Administrator.

Thanks in advance for any ideas.

-Gregautoit_re7install.au3

Share this post


Link to post
Share on other sites



Hi all - I'm new to the board and I've been tinkering with automating an install program for a widespread program here at work. It doesn't have an msi file to install via Active Directory so we're looking to hook this up to the login scripts. Anyway, everything appears to be working great until the InstallShield wizard gets to 95% and the install hangs when being automated. Per the vendor, the install program is attempting to register files (ole) at this point. As soon as I exit the script, the install completes without a hitch. It doesn't appear to be the script causing the stopage as I put timers (sleep) and msgboxes into this part and these come up fine.

Any issues with AutoIt3 and this type of install? Any ideas on kickstarting the registration at this point? Seems to work fine when its run outside of the script, but I need to use the script to finish up the install and shutdown for the users since they don't have full rights, but this can run automated under Administrator.

Thanks in advance for any ideas.

-Gregautoit_re7install.au3

i think more specifics may be necessary for troubleshooting, but one thing you should try is to use

Opt("TrayIconDebug",1)

at the top of your script so that when the install hangs, you can see what line is executing in your script by hovering your mouse over the systray icon. and you said there is no .msi file, is the installer that's locking up an .exe, or are you just doing the whole install with a script?


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Thanks for the info. This should help me see if its really hanging on the script or the exe. It appears from what I've added to the script at the point in which the install hangs that the script itself is still running as I can still get prompted by a message box at this point (even though the install itself is hanging). I think that the script would just be waiting for the window annoucing the completion of the install at that point.

Yes, this is an .exe file - I'm just trying to automate the mouse clicks and options to allow for a way to install it as an Admin since our users have very little rights.

Please let me know what kind of specifics I can provide which may help.

Thanks,

Greg

Share this post


Link to post
Share on other sites

Anyway, everything appears to be working great until the InstallShield wizard gets to 95% and the install hangs when being automated. Per the vendor, the install program is attempting to register files (ole) at this point. As soon as I exit the script, the install completes without a hitch. It doesn't appear to be the script causing the stopage

at this point... maybe close the script and call another one????

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0