Hello and welcome to our forums,
Im having a problem where once my product is installed i cannot uninstall from control panel, it begins the uninstall process but at some point it gives me this error in attachment.
I am not sure why you encounter this behavior. In order for us to further investigate, can you please try to create a log for the uninstallation process which fails and send it by e-mail at
support at advancedinstaller dot com? To do this, you can use a command line such as follows:
Code: Select all
msiexec /x {YourProductCode} /L*V yourLog.txt
The
Product Code can be taken from the
"Product Details" page -->
"Product IDs" tab.
However, if I run my setup file again it removes my program from control panel but not the other packages that were installed with it, like VC redist and MariaDB etc. I have also attached my project file if you could please help me with this.
In what regards this, this is the normal behavior. After having a look on your project, I have noticed that in
"Prerequisites" page, your
"Feature-Based" prerequisites -> under
"Setup Files" tab, you do not have the
"Uninstall using this command line" option ticked. When you check this option for
"SAP Crystal Reports runtime engine for .NET Framework (32-bit)", the
"Uninstall using this command line:" field will be automatically filled with the:
command. For
"Visual C++ Redistributable for Visual Studio 2015 Update 3 x86/x64", you will need to manually fill the field with a command line that will uninstall it.
In what regards
"Chained packages", the logic behind it is a bit more complicated. In order for it to install / uninstall, more conditions have to be met like explained in our
"Chained Package Behavior" article. In order for your chained packages to be uninstalled, you can modify your
install condition as it follows:
Code: Select all
RADIO = "RadioServer" AND NOT (REMOVE="ALL")
Hope this helps!
Regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging