/build/static/layout/Breadcrumb_cap_w.png

Re-Packaging an application which is overwriting installation files

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?


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
use the /f option if the excutable is an msi.
Posted by: piyushnasa 11 years ago
Red Belt
1

it is /f switch for repair and not /r

Posted by: henrik80 11 years ago
Second Degree Blue Belt
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

Posted by: Estes 11 years ago
Second Degree Blue Belt
-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.

 

Posted by: GAKIS 11 years ago
Fourth Degree Green Belt
-1

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


Comments:
  • 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. - Moedius 11 years ago
  • it is a setup.exe - adilrathore 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ