Solved

Forcing repair for an executable created with Install Shield 12

Posted on 2011-03-09
6
874 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 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