AdminStudio - checking for installed software
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.
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
Answers (3)
Please log in to answer
Posted by:
wiseapp
18 years ago
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
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
Posted by:
GStewart
18 years ago
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...!
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...!
Posted by:
GStewart
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.