I am using Adminstudio and am trying to create a package to do the following:
1. Uninstall previous ver of appv1 (if exist)
2. Check for preReqs - IE6, .Net, etc
3. If preReq is missing then install
4. Install appv2

Q1. Would you copy the "UpgradeCode" in appv1 to the "UpgradeCode" in appv2 to handle the uninstall of the previous version (appv1)?

Q2. What is the best practice to check for an installed piece of SW regardless if it was packaged by Adminstudio

Q3. Once the pkg determines that a preReq is missing what is the best practice for calling the appropriate MSI/EXE?

Thanks in advance for any help.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi Stewart:

Already! answers to each of your questions!

1. Yes you need to paste the old MSI's Upgrade code inside appv2 to handle the uninstall of previous version... Moreover you need to do this as well - extract and paste your appv2 upgrade code in notepad; then once you paste the old MSI upgrade code in the upgrades section of your appv2 MSI, goto tables section and press ctrl+h to open find and replace, in find what field paste your new upgrade code (that you pasted in notepad) and in Replace with type in the upgrade code of your old MSI that is appv1

2. if you want to check for a particular software regardless of admin studio or Wise System search then probably write a vbscript that will lookup certain regsitry keys and would let you that a particular software is installed or not.

3. the best practice of calling inside the MSI is to call the exe from the installation(by embedding the exe inside the MSI) and that too in a silent mode.


Give me a buzz if you require further clarifications
Answered 11/02/2005 by: wiseapp
Second Degree Green Belt

Please log in to comment
0
Bhupesh,

Thank you for the quick response.

Am I correct in assuming that once I make the UpgradeCode changes in Appv2.msi that this is the first action that occurs?

After creating the vbScript that determines if SW is installed I assume I would embed it (see Answer 3) into the MSI and then call it? I'm not familiar with how to embed and or call vbs, exe, etc.

Can you provide any additional info on that topic or point me to some reading material?

Thanks again...!
Answered 11/02/2005 by: GStewart
Yellow Belt

Please log in to comment
0
I ment to say:

Am I correct in assuming that once I make the UpgradeCode changes in Appv2.msi that this is the first action that occurs when installing Appv2.msi?
Answered 11/02/2005 by: GStewart
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity