Solved

Forcing repair for an executable created with Install Shield 12

Posted on 2011-03-09
6
842 Views
Last Modified: 2012-05-11
We have a 3rd party installer (a camera driver) that was created as a stand-alone redistributable.

We call this from our own installer.  However, if the driver is already installed it brings up the 'Modify / Repair / Remove' prompt.  

is there some parameters we can pass it that will automatically do a 'repair'? (Alternatively we could just look at some registry keys and choose not to run it if it appears to be installed already - but we'd prefer not to do that.

We've tried parameters like /f /V  .. so the program is run as 'setup.exe /f /V'  

Unfortunately it seems hard to find the parameter information on the web - the official website simply points to the latest one .. not Version 12.

Thanks in advance,

Mac
~~~~~
(PS: I'm guessing that it was created with InstallShield V12.  The executable is labelled as  Macrovision Corporation with File Version 12.0.0.49974.  It's a camera installer)

0
Comment
Question by:Mac_H
  • 3
  • 3
6 Comments
 
LVL 3

Expert Comment

by:cyborgrd
ID: 35092708
YES you must try the parameters for the msi like
/v/QN REINSTALL=ALL REINSTALLMODE=vomus.

You can extract th msi from the original setup.exe. Run it an loo in yout %TEMP% folder.
The you can transform it. Set the poroperty ISSETUPDRIVEN=1. If you give me the setup.exe may be i can halt you better
0
 

Author Comment

by:Mac_H
ID: 35093700
You can find it here: http://dl.dropbox.com/u/800207/DRV_UVC_WHQL_080912_16M_nromal.exe

Are there also parameters that can be used to change the language of the installer based on system locale?

Thanks again,
Mac
0
 
LVL 3

Accepted Solution

by:
cyborgrd earned 500 total points
ID: 35093851
i cannot install it without hardware. It is not a msi based installer. Try the cmd line to record the response file

DRV_UVC_WHQL_080912_16M_nromal.exe -r
A response file (setup.iss) will be created  in C:\windows
You can use the response file for silent installation. User the cmd line

DRV_UVC_WHQL_080912_16M_nromal.exe -s -f1"%PATHTORESPONSEFILE%\setup.iss" -f2"%PATHTOLOGFILE%\logfilename.log"
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:cyborgrd
ID: 35093857
For Reinstalling and Remove you must record additional response files
0
 

Author Comment

by:Mac_H
ID: 35211842
We were unable to get satisfactory behaviour from the driver installer.

We recorded additional response files which worked correctly - but they didn't do what we wanted them to do.  The problem was that if ran the 'Install' response file it would do only a fresh install (no repair) and a 'Repair' response file would not do anything if it wasn't installed in the first place.

This means that the driver installer doesn't seem to have any options for 'Install if needed - or repair if it is already installed' .. basically an option to 'do whatever you need to do to ensure that it is installed correctly in the end' !

That's outside the scope of this question though ... but it seems like a pretty desirable behaviour.

Thanks for your help cyborgrd - I'm accepting on of your comment on the response file as a solution .. although technically it was your comments combined that was helpful.

Thanks again,

Mac
0
 

Author Closing Comment

by:Mac_H
ID: 35211856
This solution answered my question - although it didn't technically didn't solve my problem.  Alas - that is my issue ... I was hoping this question would resolve all my issues.  Thanks again.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now