silent installation and uninstallation........
hi al,
I am working on an application which needs to be silently installed and uninstalled. i have install shield exe, and i can create a setup.iss. only problem is at the end of installation it ask for the pop up. just want to know how it can be avoided ? it doesnt exctract msi anywhere. and also post installation activity is to launch application and connect to database with user id and password. can it be automated? tried to find registry and implement it in package but no luck...
I am working on an application which needs to be silently installed and uninstalled. i have install shield exe, and i can create a setup.iss. only problem is at the end of installation it ask for the pop up. just want to know how it can be avoided ? it doesnt exctract msi anywhere. and also post installation activity is to launch application and connect to database with user id and password. can it be automated? tried to find registry and implement it in package but no luck...
2 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
EdT
10 years ago
Would it be correct to assume that this is a vendor install? Since you say it is not extracting an MSI anywhere, have you checked via Task Manager to see whether it is an MSI ? If you can see more than one instance of msiexec.exe in the task list when you start a manual install, then there is an MSI involved but you have not found it yet. Some installers do not unpack into the temp folder, but instead unpack into a folder under AppData or frankly anywhere they choose. Sometimes you need to use a capture tool to find out where.
Sadly, even an Installshield install may have custom dialogs that display a message at the end of installation, which an .ISS response file cannot cancel for you. Then it's either a case of checking whether there is a switch for the vendor install that allows silent deployment, or if you find the MSI, disable the dialog at the end of install with a transform. If neither are possible then a tool such as AutoIT may need to be used to find the window and press the appropriate button.
Since silent install/uninstall is required, I am going to assume you are using a service based deployment system. The local service that is typically used for installing apps, does not have network access, so it is unlikely you will be able to enter a "network" user name and password to achieve a connection as part of the install. You may be able to achieve this using something like active setup so the connection is made the first time the user logs in after deployment. Again, I am assuming a network database as you have not specified whether the DB is local or not.
but with -uninst its not comletely silent.
Thanks for comments. - swap20june 10 years ago