Can't get setup to restart after reboot

Jun 8, 2010 at 9:09 PM

I'm painfully NOOB still...  so beware.

I've got a 3-piece installer set up to install .NET 3.5 w/ sp1, then mysql, then my stuff.

When the .NET installer runs (dotnetfx35setup.exe), it thinks it needs to reboot when it is done
(on my 2003 server sp2 system).  Some file must be in use... I dunno.

In my DNI configuration file, using the Installer Editor, I've added return code 3010 to the "returncodes_success"
for the dotnetfx35setup.exe component, thinking that I can test this return code later and reboot at the end of the
installation for all three components.  I have not gotten that far yet, and I don't know how to test that return
code later, anyway.  But that's ok for now...

The problem I am seeing is that apparently no matter what I've specified in the DNI config, the dotnetfx35setup
program always reboots the system, (before installing anything else) and then the DNI setup program doesn't
start back up after the reboot.

The install command in my configuration.xml file for dotnetfx35setup.exe has these two switches specified on the end of the "command" to install it:

"#TEMPPATH\dotnet35SP1\dotnetfx35setup.exe" /q /norestart

I also have "allow_continue_on_error" set to false, and I've got must_reboot_required and mustreboot set to false, too.

How do I get it to restart the setup after reboot?

(I'm using DNI version 1.10.8408.0)

Thanks!

Coordinator
Jun 8, 2010 at 11:42 PM

I think this should have worked. I do the same thing for .NET 3.5 (got a 3010 returncodes_reboot and all that stuff).

Can you post a log file from this run?

Jun 9, 2010 at 12:04 AM
Edited Jun 9, 2010 at 12:29 PM

Yessir! Thanks for the reply. Maybe the (negative) file-not-found error (-2) for clearing the cache is the problem? Here's the log:

2010-06-08 16:07:10    -------------------------------------------------------------------
2010-06-08 16:07:10    dotNetInstaller (DNI), version 1.10.8408.0
2010-06-08 16:07:10    Copyright (c) DevAge, Vestris Inc. & Contributors
2010-06-08 16:07:10    Operating system: Windows Server 2003 Sp2
2010-06-08 16:07:10    -------------------------------------------------------------------
2010-06-08 16:07:10    -- Loading supported components (lcid=1033)

2010-06-08 16:07:10    -- .NET 3.5 with SP1 (display_name='.NET 3.5 with SP1', os_filter_lcid=, os_filter=, os_filter_min=Windows XP Sp3, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:07:10    -- MySQL 5.1.47 msi (display_name='MySQL 5.1.47', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:07:10    -- myProgram  (display_name='myProgram', os_filter_lcid=, os_filter=, os_filter_min=Windows XP Sp3, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:07:10    --- Loaded 3 supported component(s)

2010-06-08 16:07:10    Checking whether registry value 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version' exists
2010-06-08 16:07:10    *** No registry key found: SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version, default value: false
2010-06-08 16:07:10    -- .NET 3.5 with SP1 (.NET 3.5 with SP1): NOT INSTALLED
2010-06-08 16:07:10    Checking whether registry value 'SOFTWARE\MySQL AB\MySQL Server 5.1\Version' exists
2010-06-08 16:07:10    Registry value: 5.1.43
2010-06-08 16:07:10    -- MySQL 5.1.47 msi (MySQL 5.1.47): NOT INSTALLED
2010-06-08 16:07:10    -- myProgram  (myProgram): NOT INSTALLED
2010-06-08 16:07:11    Extracting embedded files for component '*': NO FILES EMBEDDED
2010-06-08 16:07:11    -- Loading supported components (lcid=1033)
2010-06-08 16:07:11    -- .NET 3.5 with SP1 (display_name='.NET 3.5 with SP1', os_filter_lcid=, os_filter=, os_filter_min=Windows XP Sp3, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:07:11    -- MySQL 5.1.47 msi (display_name='MySQL 5.1.47', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:07:11    -- myProgram  (display_name='myProgram', os_filter_lcid=, os_filter=, os_filter_min=Windows XP Sp3, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:07:11    --- Loaded 3 supported component(s)
2010-06-08 16:07:11    --- Component '.NET 3.5 with SP1' (.NET 3.5 with SP1): EXECUTING
2010-06-08 16:07:11    Extracting embedded files for component '.NET 3.5 with SP1': NO FILES EMBEDDED
2010-06-08 16:07:11    Destination 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1\dotnetfx35setup.exe', exists=False, copy=False
2010-06-08 16:07:11    Destination 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1\dotnetfx35setup.exe', exists=False, download=True
2010-06-08 16:07:11    Opening download dialog '.NET 3.5 with SP1 - x86 english - Download Components'
2010-06-08 16:07:11    Destination 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1\dotnetfx35setup.exe', exists=False, copy=False
2010-06-08 16:07:11    Destination 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1\dotnetfx35setup.exe', exists=False, download=True
2010-06-08 16:07:11    Downloading '.NET 3.5 with Service Pack 1', source='http://go.microsoft.com/fwlink/?linkid=118076', destination='C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1', full='C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1\dotnetfx35setup.exe', always download=True
2010-06-08 16:07:11    Creating directory 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1'
2010-06-08 16:07:11    Deleting cache entry for 'http://go.microsoft.com/fwlink/?linkid=118076'.
2010-06-08 16:07:11    0x80070002 - Ignoring error clearing cache: The system cannot find the file specified.
2010-06-08 16:07:16    Download '.NET 3.5 with Service Pack 1', size=2.8MB: OK
2010-06-08 16:07:16    --- Download OK
2010-06-08 16:07:16    Closing download dialog '.NET 3.5 with SP1 - x86 english - Download Components'
2010-06-08 16:07:16    Executing: "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\dotnet35SP1\dotnetfx35setup.exe" /q /norestart
2010-06-08 16:12:43    --- Component '.NET 3.5 with SP1 (.NET 3.5 with SP1): DIALOG CLOSED
2010-06-08 16:12:43    *** Component '.NET 3.5 with SP1' (.NET 3.5 with SP1): ERROR - Error executing '.NET 3.5 with SP1' (.NET 3.5 with SP1): 0xbc2
2010-06-08 16:12:43    --- Component '.NET 3.5 with SP1 (.NET 3.5 with SP1)' FAILED: Error executing '.NET 3.5 with SP1' (.NET 3.5 with SP1): 0xbc2
2010-06-08 16:13:13    --- Component '.NET 3.5 with SP1 (.NET 3.5 with SP1): FAILED, ABORTING
2010-06-08 16:13:43    dotNetInstaller finished, return code=3010
2010-06-08 16:13:45    -------------------------------------------------------------------
2010-06-08 16:13:45    dotNetInstaller (DNI), version 1.10.8408.0
2010-06-08 16:13:45    Copyright (c) DevAge, Vestris Inc. & Contributors
2010-06-08 16:13:45    Operating system: Windows Server 2003 Sp2
2010-06-08 16:13:45    -------------------------------------------------------------------
2010-06-08 16:13:45    -- Loading supported components (lcid=1033)
2010-06-08 16:13:45    -- .NET 3.5 with SP1 (display_name='.NET 3.5 with SP1', os_filter_lcid=, os_filter=, os_filter_min=Windows XP Sp3, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:13:45    -- MySQL 5.1.47 msi (display_name='MySQL 5.1.47', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:13:45    -- myProgram  (display_name='myProgram ', os_filter_lcid=, os_filter=, os_filter_min=Windows XP Sp3, os_filter_max=, processor_architecture_filter=): LOADED
2010-06-08 16:13:45    --- Loaded 3 supported component(s)
2010-06-08 16:13:45    Checking whether registry value 'SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5\Version' exists
2010-06-08 16:13:45    Registry value: 3.5.30729.01
2010-06-08 16:13:45    -- .NET 3.5 with SP1 (.NET 3.5 with SP1): INSTALLED
2010-06-08 16:13:45    Checking whether registry value 'SOFTWARE\MySQL AB\MySQL Server 5.1\Version' exists
2010-06-08 16:13:45    Registry value: 5.1.43
2010-06-08 16:13:45    -- MySQL 5.1.47 msi (MySQL 5.1.47): NOT INSTALLED
2010-06-08 16:13:45    -- myProgram  (myProgram ): NOT INSTALLED
2010-06-08 16:13:46    dotNetInstaller finished, return code=-2

 

Coordinator
Jun 9, 2010 at 12:36 PM

Can you post your config too please? Thx.

Coordinator
Jun 9, 2010 at 12:49 PM

Before you post the config file, I think there's some misunderstanding about what should happen for command components.

  • If you define 3010 in returncodes_success, dotNetInstaller will simply ignore the 3010 failure and continue as nothing happenned.
  • If you define 3010 in returncodes_reboot, dotNetInstaller will handle it as a reboot required and reboot, then restart and resume at the same spot. You shouldn't need any other reboot options. This is the only way to make it restart, it needs to know that a reboot was requested by a component.

Before you post the config, make sure to specify 3010 in returncodes_reboot and try again. Then repost the log and the config if it doesn't work.

Jun 9, 2010 at 3:14 PM

Hey Thanks!  That did it!  It is working correctly...  Greatly appreciate the fast response, too, BTW.