failure to install as startup script

For questions regarding installation and registration of EViews.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:10 am

I have a copy of eviews 7.0.0.1 (according to the eviews 7.exe file details after installing but before patches) that I'm trying to install on win7 amd64, and two patch files provided to me by the Econ department dated last year. I see there's a new one, I guess I will apply that instead once I can resolve this.

Getting the silent install working was straightforward; record an ISS response file, play it back. It works correctly when I run it as myself, but when I run it as part of our maintenance routine (startup script calling installers as the SYSTEM user with admin privileges), the installer "succeeds" (exit code 0) and does not install the program in "c:\program files (x86)" or anywhere else:

Executing command: ('"[redacted]\eviews\7.0.0.1\INSTALL\Setup.exe" -s -f1"[redacted]\eviews\7.0.0.1\eviews7-install-x64.iss" -f2\\[redacted]-eviews-install.1.log -verbose -SMS').
DEBUG : Command in installation of EViews 7 returned exit code [0]. Success.

I have two patch files for it, but they don't apply since the initial program hasn't installed. Oddly, they ALSO exit with errorlevel 0.

Any suggestions?

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:14 am

It seems to install correctly when I give myself a SYSTEM account shell and then run the updater routine exactly as it runs during startup.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:24 am

Here is the log file from a failed attempt.

[InstallShield Silent]
Version=v6.00.000

Yep, that's it.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:28 am

I tested it again as the SYSTEM user (this time fully removing my previous attempt) and it failed.

2013-01-30 09:24:58, ERROR : Could not process (install) EViews 7.|Failed checking after installation.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:38 am

with a bit of experimentation, removing -SMS may have fixed it, sigh. Copypasted from a previous package. In theory it's supposed to tell InstallShield to not spawn the setup as a background process, but maybe it's doing something stupid.

I'm going to kick a few computers into maintenance and see if they install now.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:49 am

No, that didn't do it, three computers' startup installation failed. It took about 60 seconds to do so, though, so it's doing SOMEthing..

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 10:58 am

minor complaint:

Removing the program does not entirely remove %PROGRAMFILES (x86)%\eviews7:
C:\Program Files (x86)\EViews7\abank32.dll
C:\Program Files (x86)\EViews7\Docs
C:\Program Files (x86)\EViews7\EDX_35
C:\Program Files (x86)\EViews7\Docs\EViews 71 Supplement.pdf
C:\Program Files (x86)\EViews7\Docs\EViews 72 Supplement.pdf
C:\Program Files (x86)\EViews7\EDX_35\EdxMagellan.dll
C:\Program Files (x86)\EViews7\EDX_35\EdxMagellan.XmlSerializers.dll
C:\Program Files (x86)\EViews7\EDX_35\Interop.EViewsEdx.dll

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 11:00 am

Another complaint, probably not critical: It doesn't appear to be possible to replay a completely silent uninstall. It asks the user if they want to uninstall despite using a response file.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 11:02 am

To summarize, in general, manual installation succeeds as SYSTEM user or admin user, automated installation via startup script fails. It failed a couple times as SYSTEM user, manual install - I've been doing repeated uninstall/reinstall on the test machine and it works consistently.

Trying to come up with a set of circumstances under which it fails consistently.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 11:34 am

Perhaps the eviews installer is boneheadedly requiring some kind of interactive mode?

EViews Steve
EViews Developer
Posts: 799
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: failure to install as startup script

Postby EViews Steve » Wed Jan 30, 2013 11:40 am

As far as we know, our customers haven't had problems using the install script during login to perform the installation -- many of our corporate customers do this.

However, I've never heard of anyone using the SYSTEM account to perform the installation, so maybe you should try an actual user account to run the login script to see if it's a permissions issue with SYSTEM.

Another suggestion is that you can manually install EViews quite easily with just a few file copies, a few registrations, create a shortcut, etc., depending on what type of EViews license you are using (the easiest being an EViews concurrent license model where you're using an EViews License server). If you'd like instructions on how to do that I'd be happy to provide that info.

Steve

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 11:43 am

I'm installing in a computer lab with ~200 machines, so doing it manually would not be my preference. Similarly for a logon script, since we don't use roaming profiles and a user cannot count on having the same computer twice.

Anyone who uses a startup script to install software is using the SYSTEM user (%USERNAME% would be set to "computername$"), so it's possible people don't know that they're using it.

EViews Steve
EViews Developer
Posts: 799
Joined: Tue Sep 16, 2008 3:00 pm
Location: Irvine, CA

Re: failure to install as startup script

Postby EViews Steve » Wed Jan 30, 2013 11:45 am

Another thing I should mention is that there were a few fixes made to our installer some time ago in order to improve the stability of our installer during recording and playback. I would suggest you try downloading the latest version of our CDROM, and then making a new recording.

Steve

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 11:46 am

The econ department has a license server set up, and when I install the software manually it uses it just fine. Even if I install it manually with the automated installer. The important factor seems to be that I'm logged in with an interactive console of some kind, but I could be wrong about that.

rbos
Posts: 16
Joined: Wed Jan 30, 2013 9:51 am

Re: failure to install as startup script

Postby rbos » Wed Jan 30, 2013 11:46 am

Okay, I'll give it a shot with the newer media, thanks.


Return to “Installation and Registration”

Who is online

Users browsing this forum: No registered users and 27 guests