Hi all,
I have a somewhat 'difficult' program to mass deploy, i will list what is currently required of it, and hoping for some tips for getting it all into an MSI installer.
1. This script does the following;
- kills running processes that the installer handles
- runs an msiexec /x line to uninstall a pre-existing version of the application to be installed
- deletes 3 directories with rmdir
- runs a couple of if exist loops to make sure they were removed, if not it errors out with an error code
- deletes old shortcuts
2. SCCM runs the next DT, which installs an MSI, i repackaged this MSI in advanced installer and it works
3. the final step
- Kill processes again
- copy file to specific folder (the folder is not part of the above installer)
- if exist loops for the above file, if it hasn't copied again errors out with a specific code
- set authenticated users to have full control on the above applications installation root folder
- unzip an archive to a subfolder in the above created installation root directory (needs to be unzipped otherwise it is about 19gb in size)
- copy links to desktop / start menu (these shortcuts are for the application that was just extracted)
- delete the archive file
- error check again if the file is not deleted the script errors out.
Of the above, the only installer package at the moment is the launcher in step 2, the other two are batch scripts.
Is there any way to get the archive to register in add remove once it is extracted? It would make future versions easy to patch if it could remove the old one and replace it with itself.
That would be a bonus, right now just wondering how to get all this as clean as possible into a single installer.
Thoughts?
Thanks
FOLLOW US
Get the latest news in Application Packaging