Solved

Forcing repair for an executable created with Install Shield 12

Posted on 2011-03-09
6
837 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Installations often have prerequisites, such as “Microsoft .Net framework is required for this product”. The usual implementation in MSI installations is system search for a particular registry setting representing the required prerequisite, followe…
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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

11 Experts available now in Live!

Get 1:1 Help Now