Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Forcing repair for an executable created with Install Shield 12

Posted on 2011-03-09
6
Medium Priority
?
883 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 2000 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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

Independent Software Vendors: 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

One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
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…
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

670 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