Solved

Forcing repair for an executable created with Install Shield 12

Posted on 2011-03-09
6
851 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
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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