This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Silent Install Doesn't Add Program to List of Installed Program for Uninstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 13, 2015
12:26 PM
Silent Install Doesn't Add Program to List of Installed Program for Uninstall
I'm confused by the difference when an installation program is run with the /s silent command line or no command line.
Our InstallScript handles it properly and the program is installed without the UI.
However, in one of our setups, we see the program listed in the Control Panel, Programs list of programs. With another setup, it's not. It's always listed if the setup is run without command lines.
What's controlling whether it's listed or not?
And if it's not listed, how do you uninstall it?
For the one that is listed, when we click on it to uninstall, it says "An error occurred while trying to uninstall ProgramName. It may have already been uninstalled. Would you like to remove ProgramName from the Programs and Features list?"
If we select Yes, it's gone from the list, but the files aren't uninstalled.
Thanks for your help and insight pointing me to what's controlling this.
Our InstallScript handles it properly and the program is installed without the UI.
However, in one of our setups, we see the program listed in the Control Panel, Programs list of programs. With another setup, it's not. It's always listed if the setup is run without command lines.
What's controlling whether it's listed or not?
And if it's not listed, how do you uninstall it?
For the one that is listed, when we click on it to uninstall, it says "An error occurred while trying to uninstall ProgramName. It may have already been uninstalled. Would you like to remove ProgramName from the Programs and Features list?"
If we select Yes, it's gone from the list, but the files aren't uninstalled.
Thanks for your help and insight pointing me to what's controlling this.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 15, 2015
06:56 PM
It appears that the setup encounters some errors during silent installation. Try installing with logging enabled, and see what really happens.
For the another one, it is likely to encounter some errors. Again, please try installing and uninstall with logging enabled, and see what really happens.
For the another one, it is likely to encounter some errors. Again, please try installing and uninstall with logging enabled, and see what really happens.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 16, 2015
12:37 PM
This sounds really promising.
What do I need to do to enable logging during installation? Is that a command line or do I need to create a new setup EXE?
Thanks.
What do I need to do to enable logging during installation? Is that a command line or do I need to create a new setup EXE?
Thanks.
TsungH wrote:
It appears that the setup encounters some errors during silent installation. Try installing with logging enabled, and see what really happens.
For the another one, it is likely to encounter some errors. Again, please try installing and uninstall with logging enabled, and see what really happens.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 19, 2015
08:47 AM
Add to your command line:
setup.exe /v"/l*v c:\install.log"
setup.exe /v"/l*v c:\install.log"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 20, 2015
11:35 AM
Thanks. I generates the log file but can't tell what's wrong. I ran it with and without the /s silent mode and got the same results as before (the silent version doesn't uninstall correctly).
In both log files, it says "Installation operation completed successfully". Looking at the log files, I can't find what would cause this difference. I can't do a standard text comparison since many lines have a timestamp.
Any suggestions on what I should be looking for? Thanks again,
In both log files, it says "Installation operation completed successfully". Looking at the log files, I can't find what would cause this difference. I can't do a standard text comparison since many lines have a timestamp.
Any suggestions on what I should be looking for? Thanks again,
JSClark wrote:
Add to your command line:
setup.exe /v"/l*v c:\install.log"