/build/static/layout/Breadcrumb_cap_w.png

Installing Installshield app through startup script

Hello,

I am attempting to install Pervasive SQL 8 client via a startup script to our Windows XP Pro workstations, and I'm having some difficulty. Here's the situation. After finding out that Installshield applications seem to have a problem installing through a startup script using computer account authorities, I reluctantly decided to try installing as a local administrator using the runas command through a vbs script (which is called from the startup script). At this point, the installation works fine, but for some reason the installation doesn't begin until the startup script completely finishes. I know this because I added a "pause" command at the end of the startup script, and installation of the Pervasive software doesn't start till I press a key even though the setup.exe command has already been executed. So, my question is this: is there a way to cause the application to completely install while the startup script is running and not allow the user to logon till after the installation is finished? Better yet, if there is a way to get this application to install without using "runas", I'd love to hear about it. Thanks very much for any assistance!!

Brad

0 Comments   [ + ] Show comments

Answers (3)

Posted by: cdupuis 19 years ago
Third Degree Green Belt
0
Try calling a second script for the installation.

so what I mean is when you get to the software installation step, you can call another script, then in that script, use the RunAs command to call the installation. If you cannot get it to perform a 100% silent install you can also use AutoIT, it is a automation scripting language that is very easy to use, it is primarily used for performing window clicks, etc.
Posted by: bradh 19 years ago
Yellow Belt
0
Thanks for the reply! I tried calling a second script, but it didn't seem to make a difference. At this point, the main startup script (cmd file) is calling a second cmd file which then executes the vbs file that does the actual work of installing the application using the runas command. Unfortunately, the installation of the program still doesn't take place until the main startup script terminates. This is only a problem if a user reboots during the installation or tries to run the application while it is still installing. Also, I need to copy some additional files once the installation completes, but right now the additional files are copying before the main program installation even begins. If you have any more ideas on this, I'd love to hear them. Thanks again for the reply!

Brad
Posted by: cdupuis 19 years ago
Third Degree Green Belt
0
Try out AutoIT then compile it to an EXE.

Also, call RunAs direclty and not through CMD as it should automatically open cmd.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ