I have a request for repackaging an application, which force installs the application once again, if it is already installed.

The requestor wants it to rather repair any corrupt files, instead of all of the application getting re-installed.

Is there a way to achieve this with Installshield?

Answer Summary:
use the /f option if the excutable is an msi.
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

it is /f switch for repair and not /r

Answered 05/24/2012 by: piyushnasa
Red Belt

Please log in to comment
1

I'm not sure I undestand your goal with the repackaging. As I understand it you want to install an application and if the application get any problem with corrup files it should not be repaired but the install should be executed one more time? If this is the case I'm not sure exactly what to do but I guess that there are some actions under execute sequence that needs to be removed so that the msi product code is not registered. My guess is RegisterProduct, but I have never tested it, so it might be some other actions aswell.

http://msdn.microsoft.com/en-us/library/windows/desktop/aa371162(v=vs.85).aspx

Answered 05/22/2012 by: henrik80
Second Degree Blue Belt

Please log in to comment
-1

In Installshield I believe you can override the file version and give it something really high like 65550.0 or something to that effect. I have never tried it. I am not sure if I answered your question correctly so for doing a repair on corrupted files the file(s) need to be a key file in each component.

 

Answered 05/21/2012 by: Estes
Second Degree Blue Belt

Please log in to comment
-1

Run the origional install with a /r switch and it will repair the application.

Answered 05/23/2012 by: GAKIS
Second Degree Green Belt

  • Based on the limited information you've provided, I think this is the only straightforward way to do what you're talking about... and you dont need installshield for it.

    Was the app initially installed via setup.exe, a previously repackaged MSI, or vendor MSI?

    This will determine how and if you can do this.
  • it is a setup.exe
Please log in to comment
Answer this question or Comment on this question for clarity

Share