This project is read-only.
3
Vote

Add an option to prevent automatic switching to uninstall sequence

description

My setup package need reboots, but I noticed that after a reboot dotNetInstaller detects the installed components and uninstalls them with this message "All components installed, switching to uninstall."

The code says this:

if (InstallerSession::Instance->sequence == SequenceInstall && m_all && p_configuration->supports_uninstall)
{
    LOG("All components installed, switching to uninstall.");
    InstallerSession::Instance->sequence = SequenceUninstall;
    m_all = LoadComponentsList();
    if (m_all)
    {
        LOG("All components uninstalled, nothing to do.");
        InstallerSession::Instance->sequence = SequenceInstall;
    }
}
It needs to be driven by an option.

comments

oferb00 wrote May 8, 2013 at 12:35 PM

I'm hitting the same problem.
Any solution or workaround??

Thx!