Problem With auto_continue_on_reboot

Jan 18, 2010 at 3:12 AM

In testing v1.7 and v1.8 on Windows XP SP2, after an installer runs that requires a reboot the computer then reboots as expected.  However, setting auto_continue_on_reboot to True, dNi is not starting automatically after the reboot.  Are there any other switches that need to be set to enable this?  I had been using dNi v1.3.3.0 and it was starting after a required reboot however given all of the great new features I am moving on to the newer builds.

Coordinator
Jan 18, 2010 at 9:56 PM

It could be a bug.

  1. Does DNI start after the reboot (and doesn't auto-start the installation)?
  2. Please attach your configuration file.
  3. Please collect and attach a log file from the install session.
  4. Please tell me the value that DNI writes into HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run before reboot.

Thx
dB.

Jan 27, 2010 at 1:47 AM
Edited Jan 27, 2010 at 8:23 PM
db -
  1. DNI does not start after the reboot; my intent is for DNI to start but not for the install to auto-start.  After an installer requiring a reboot completes and "Finish" is pressed the DNI wait dialog stays on the screen for around 1 minute before a DNI prompt comes up displaying "Setup needs to reboot now?" with Y/N buttons.  Then the computer immediately reboots before Y or N can be clicked.
  2. Config file contents below.
  3. Log file contents below; since the install was run against XP SP2 there were 2 reboots required.  Fortunately, XP SP3 and up don't require any reboots.  I wasn't sure how to do an attachment and the full log file made the length too long to post so I've shortened it trying to keep the important bits intact.
  4. I could not discern anything written to the Run registry key; it was open and being refreshed but nothing ever appeared prior to the reboot.

Thx - Fred

<?xml version="1.0" encoding="utf-8"?>
<configurations lcid_type="UserExe" show_language_selector="False" language_selector_title="" language_selector_ok="OK" language_selector_cancel="Cancel" configuration_no_match_message="" ui_level="full" fileversion="" productversion="" log_enabled="False" log_file="#TEMPPATH\dotNetInstallerLog.txt">
  <schema version="1.8.7120.0" generator="dotNetInstaller InstallerEditor" />
  <configuration dialog_caption="PINPOINT 2010 Installer" dialog_message="In order to install PINPOINT 2010 you must first install and/or upgrade the following components:" dialog_message_uninstall="" dialog_bitmap="#APPPATH\banner.bmp" skip_caption="Skip" install_caption="Install" uninstall_caption="Uninstall" cancel_caption="Close" status_installed=" (Installed)" status_notinstalled="" failed_exec_command_continue="Failed to install %s. If using Windows XP ensure you are on Service Pack 2 or greater.  Click No below to close this window - clicking Yes will result in a non-functioning install of PINPOINT." installation_completed="PINPOINT 2010 installed successfully!" installation_none="PINPOINT 2010 is already installed!" installing_component_wait="Installing %s.  Please wait, this operation may take some time..." reboot_required="To continue the installation you must restart your computer. Restart now?" must_reboot_required="False" dialog_otherinfo_caption="" dialog_otherinfo_link="" complete_command="" complete_command_silent="" complete_command_basic="" wait_for_complete_command="True" auto_close_if_installed="True" auto_close_on_error="False" allow_continue_on_error="True" dialog_show_installed="True" dialog_show_uninstalled="True" dialog_show_required="True" cab_dialog_message="%s" cab_cancelled_message="" cab_dialog_caption="" cab_path="#TEMPPATH\#GUID" cab_path_autodelete="True" dialog_position="" dialog_components_list_position="" dialog_message_position="" dialog_bitmap_position="" dialog_otherinfo_link_position="" dialog_osinfo_position="" dialog_install_button_position="" dialog_cancel_button_position="" dialog_skip_button_position="" auto_start="False" auto_continue_on_reboot="True" reboot_cmd="" type="install" lcid_filter="" language_id="" language="" os_filter_greater="61" os_filter_smaller="" processor_architecture_filter="" supports_install="True" supports_uninstall="False">
    <component command="&quot;#APPPATH\SupportFiles\MDAC2.8\English\Win_98_ME_NT_2000_XP\MDAC_TYP.EXE&quot; /q:a /c:&quot;dasetup.exe /q&quot;" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="" id="Microsoft Data Access Components 2.8" display_name="Microsoft Data Access Components 2.8" os_filter_greater="61" os_filter_smaller="90" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" required="True" note="English - Standard - MDAC 2.8 for Win98, ME, NT4, 2000 and XP. Quiet mode." processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck path="SOFTWARE\Microsoft\DataAccess" fieldname="Version" fieldvalue="2.80.0.0" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
    </component>
    <component command="&quot;#APPPATH\SupportFiles\WindowsInstaller\WindowsInstaller-KB893803-v2-x86.exe&quot; /passive" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="1641,3010" id="Windows Installer 3.1" display_name="Windows Installer 3.1" os_filter_greater="61" os_filter_smaller="90" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="PINPOINT setup needs to reboot now" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" required="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck filename="#SYSTEMPATH\msi.dll" fileversion="3.0.3790.2538" comparison="version" type="check_file" description="Installed Check" />
    </component>
    <component command="&quot;#APPPATH\SupportFiles\dotNet2.0\English\dotnetfx.exe&quot; /q:a /c:&quot;install /qb! /l&quot;" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="" id="Microsoft .NET Framework 2.0" display_name="Microsoft .NET Framework 2.0" os_filter_greater="61" os_filter_smaller="102" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" required="True" note="English - Standard - .NET Framework 2.0 for Windows XP SP2 and later" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck path="SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" fieldname="Install" fieldvalue="1" fieldtype="REG_DWORD" comparison="match" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
    </component>
    <component command="&quot;#APPPATH\SupportFiles\MSScript1.0\sct10en.exe&quot; /q" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="" id="Microsoft Script Control" display_name="Microsoft Script Control" os_filter_greater="61" os_filter_smaller="" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" required="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck path="SOFTWARE\Classes\CLSID\{0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC}\Version" fieldname="" fieldvalue="1.0" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
    </component>
    <component command="&quot;#APPPATH\SupportFiles\WinXP HotFix\WindowsXP-KB921337-x86-ENU.exe&quot; /passive" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="1641,3010" id="Windows XP SP2 Hotfix" display_name="Windows XP SP2 Hotfix" os_filter_greater="80" os_filter_smaller="83" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="PINPOINT setup needs to reboot now" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" required="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck filename="#SYSTEMPATH\sxs.dll" fileversion="5.1.2600.2932" comparison="version" type="check_file" description="Installed Check" />
    </component>
    <component command="wscript &quot;#APPPATH\SupportFiles\SQL Express SP3\SQLExpressPreInstall.vbs&quot; &quot;#APPPATH\SupportFiles\SQL Express SP3&quot;" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="" id="SQL Express Pre Install" display_name="SQL Express Pre Install" os_filter_greater="61" os_filter_smaller="" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" required="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck path="Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion" fieldname="CurrentVersion" fieldvalue="9.00.3042.00" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
    </component>
    <component command="&quot;#APPPATH\SupportFiles\SQL Express SP3\Setup.exe&quot; /settings &quot;#TEMPPATH\template.ini&quot; /qb" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="" id="SQL Express SP3" display_name="SQL Express SP3" os_filter_greater="61" os_filter_smaller="" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" required="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="False">
      <installedcheck path="Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion" fieldname="CurrentVersion" fieldvalue="9.00.3042.00" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
    </component>
    <component package="#APPPATH\SupportFiles\PINPOINT\pp_setup.msi" cmdparameters="" cmdparameters_silent="/qn" cmdparameters_basic="/qb" uninstall_cmdparameters="/qb-" uninstall_cmdparameters_silent="/qn" uninstall_cmdparameters_basic="/qb-" id="PINPOINT 2010" display_name="PINPOINT 2010" os_filter_greater="61" os_filter_smaller="" os_filter_lcid="" type="msi" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" required="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="True">
      <installedcheck path="SOFTWARE\Peritum\PINPOINT" fieldname="Version" fieldvalue="9.6.0" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
    </component>
  </configuration>
</configurations>
2010-01-26 15:13:42 -------------------------------------------------------------------
2010-01-26 15:13:42 dotNetInstaller (DNI) started, version 1.8.7120.0
2010-01-26 15:13:42 Copyright (c) DevAge, Vestris Inc. & Contributors
2010-01-26 15:13:42 Operating system: Windows XP Sp2
2010-01-26 15:13:42 Sequence: install
2010-01-26 15:13:42 -------------------------------------------------------------------
2010-01-26 15:13:42 Loaded configuration from embedded resource 'RES_CONFIGURATION'
2010-01-26 15:13:42 Loaded schema: version=1.8.7120.0, generator=dotNetInstaller InstallerEditor
2010-01-26 15:13:42 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\Version'
2010-01-26 15:13:42 Loaded Microsoft Data Access Components 2.8, display_name='Microsoft Data Access Components 2.8', os=61/90
2010-01-26 15:13:42 Loaded 'file' installed check 'C:\WINDOWS\system32\msi.dll'
2010-01-26 15:13:42 Loaded Windows Installer 3.1, display_name='Windows Installer 3.1', os=61/90
2010-01-26 15:13:42 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install'
2010-01-26 15:13:42 Loaded Microsoft .NET Framework 2.0, display_name='Microsoft .NET Framework 2.0', os=61/102
2010-01-26 15:13:42 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC}\Version\'
2010-01-26 15:13:42 Loaded Microsoft Script Control, display_name='Microsoft Script Control', os=61/
2010-01-26 15:13:42 Loaded 'file' installed check 'C:\WINDOWS\system32\sxs.dll'
2010-01-26 15:13:42 Loaded Windows XP SP2 Hotfix, display_name='Windows XP SP2 Hotfix', os=80/83
2010-01-26 15:13:42 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion\CurrentVersion'
2010-01-26 15:13:42 Loaded SQL Express Pre Install, display_name='SQL Express Pre Install', os=61/
2010-01-26 15:13:42 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion\CurrentVersion'
2010-01-26 15:13:42 Loaded SQL Express SP3, display_name='SQL Express SP3', os=61/
2010-01-26 15:13:42 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Peritum\PINPOINT\Version'
2010-01-26 15:13:42 Loaded PINPOINT 2010, display_name='PINPOINT 2010', os=61/
2010-01-26 15:13:42 Loaded 8 component(s) from configuration type=1 (lcid_filter=, os_filter_greater=61, os_filter_smaller=, processor_architecture_filter=)
2010-01-26 15:13:42 --- Read 1 configuration(s)
...
2010-01-26 15:13:48 --- Loaded 8 supported component(s)
2010-01-26 15:13:48 --- Component 'Microsoft Data Access Components 2.8' (Microsoft Data Access Components 2.8): SKIPPED
2010-01-26 15:13:48 --- Component 'Windows Installer 3.1' (Windows Installer 3.1): EXECUTING
2010-01-26 15:13:48 Extracting embedded files for component 'Windows Installer 3.1': NO FILES EMBEDDED
2010-01-26 15:13:48 Executing: "C:\Documents and Settings\adminlocal\Desktop\PP_2010_Test_20100126\SupportFiles\WindowsInstaller\WindowsInstaller-KB893803-v2-x86.exe" /passive
2010-01-26 15:15:21 --- Component 'Windows Installer 3.1 (Windows Installer 3.1): DIALOG CLOSED
2010-01-26 15:15:21 Component 'Windows Installer 3.1' return code '3010, defined as reboot required in '1641,3010.
2010-01-26 15:15:21 *** Component 'Windows Installer 3.1' (Windows Installer 3.1): SUCCESS
2010-01-26 15:15:21 --- Component 'Windows Installer 3.1 (Windows Installer 3.1): REQUESTS REBOOT
2010-01-26 15:17:10 -------------------------------------------------------------------
2010-01-26 15:17:10 dotNetInstaller (DNI) started, version 1.8.7120.0
2010-01-26 15:17:10 Copyright (c) DevAge, Vestris Inc. & Contributors
2010-01-26 15:17:10 Operating system: Windows XP Sp2
2010-01-26 15:17:10 Sequence: install
2010-01-26 15:17:10 -------------------------------------------------------------------
2010-01-26 15:17:10 Loaded configuration from embedded resource 'RES_CONFIGURATION'
2010-01-26 15:17:10 Loaded schema: version=1.8.7120.0, generator=dotNetInstaller InstallerEditor
2010-01-26 15:17:10 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\Version'
...
2010-01-26 15:17:12 Extracting embedded files for component 'Microsoft .NET Framework 2.0': NO FILES EMBEDDED
2010-01-26 15:17:12 Executing: "C:\Documents and Settings\adminlocal\Desktop\PP_2010_Test_20100126\SupportFiles\dotNet2.0\English\dotnetfx.exe" /q:a /c:"install /qb! /l"
2010-01-26 15:20:04 --- Component 'Microsoft .NET Framework 2.0 (Microsoft .NET Framework 2.0): DIALOG CLOSED
2010-01-26 15:20:04 *** Component 'Microsoft .NET Framework 2.0' (Microsoft .NET Framework 2.0): SUCCESS
2010-01-26 15:20:04 --- Component 'Microsoft Script Control' (Microsoft Script Control): SKIPPED
2010-01-26 15:20:04 --- Component 'Windows XP SP2 Hotfix' (Windows XP SP2 Hotfix): EXECUTING
2010-01-26 15:20:04 Extracting embedded files for component 'Windows XP SP2 Hotfix': NO FILES EMBEDDED
2010-01-26 15:20:04 Executing: "C:\Documents and Settings\adminlocal\Desktop\PP_2010_Test_20100126\SupportFiles\WinXP HotFix\WindowsXP-KB921337-x86-ENU.exe" /passive
2010-01-26 15:21:48 --- Component 'Windows XP SP2 Hotfix (Windows XP SP2 Hotfix): DIALOG CLOSED
2010-01-26 15:21:48 Component 'Windows XP SP2 Hotfix' return code '3010, defined as reboot required in '1641,3010.
2010-01-26 15:21:48 *** Component 'Windows XP SP2 Hotfix' (Windows XP SP2 Hotfix): SUCCESS
2010-01-26 15:21:48 --- Component 'Windows XP SP2 Hotfix (Windows XP SP2 Hotfix): REQUESTS REBOOT
2010-01-26 15:23:25 -------------------------------------------------------------------
2010-01-26 15:23:25 dotNetInstaller (DNI) started, version 1.8.7120.0
2010-01-26 15:23:25 Copyright (c) DevAge, Vestris Inc. & Contributors
2010-01-26 15:23:25 Operating system: Windows XP Sp2
2010-01-26 15:23:25 Sequence: install
2010-01-26 15:23:25 -------------------------------------------------------------------
2010-01-26 15:23:25 Loaded configuration from embedded resource 'RES_CONFIGURATION'
2010-01-26 15:23:25 Loaded schema: version=1.8.7120.0, generator=dotNetInstaller InstallerEditor
2010-01-26 15:23:25 Loaded 'registry' installed check 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess\Version'
2010-01-26 15:23:25 Loaded Microsoft Data Access Components 2.8, display_name='Microsoft Data Access Components 2.8', os=61/90
2010-01-26 15:23:25 Loaded 'file' installed check 'C:\WINDOWS\system32\msi.dll'
...
2010-01-26 16:06:21 -- Microsoft Script Control (Microsoft Script Control): INSTALLED
2010-01-26 16:06:21 -- Windows XP SP2 Hotfix (Windows XP SP2 Hotfix): INSTALLED
2010-01-26 16:06:21 Reading Registry: Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion\CurrentVersion
2010-01-26 16:06:21 Registry key found: Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion\CurrentVersion
2010-01-26 16:06:21 Registry value: 9.00.4035.00
2010-01-26 16:06:21 -- SQL Express Pre Install (SQL Express Pre Install): INSTALLED
2010-01-26 16:06:21 Reading Registry: Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion\CurrentVersion
2010-01-26 16:06:21 Registry key found: Software\Microsoft\Microsoft SQL Server\PINPOINT\MSSQLServer\CurrentVersion\CurrentVersion
2010-01-26 16:06:21 Registry value: 9.00.4035.00
2010-01-26 16:06:21 -- SQL Express SP3 (SQL Express SP3): INSTALLED
2010-01-26 16:06:21 Reading Registry: SOFTWARE\Peritum\PINPOINT\Version
2010-01-26 16:06:21 Registry key found: SOFTWARE\Peritum\PINPOINT\Version
2010-01-26 16:06:21 Registry value: 9.6.0
2010-01-26 16:06:21 -- PINPOINT 2010 (PINPOINT 2010): INSTALLED
2010-01-26 16:06:21 --- Complete Command
2010-01-26 16:06:22 dotNetInstaller finished, return code=0
Coordinator
Jan 27, 2010 at 1:22 PM

I have a theory. Is the reboot dialog from dotNetInstaller or from your MSI (WindowsXP-KB921337-x86-ENU.exe)? I think that it's coming from WindowsXP-KB921337-x86-ENU.exe, so dotNetInstaller doesn't get a chance to deal with writing the proper registry value and gets killed. See if WindowsXP-KB921337-x86-ENU.exe has another switch like /noreboot (I am not sure what /passive does)? It should still return the proper error code and dni would process it, write registry reboot information and proceed as expected.