Multiple issues with downloading components

Nov 12, 2010 at 10:49 PM

Hi,

I feel like I must be missing something, since what I'm trying to do is very simple. Thanks in advance for any help!

I'm installing an MSI that has .NET 2.0 SP1 as a prerequisite. The issues are:

1. There is no introductory screen displayed. I saw it once before, but now it's disappeared; it goes straight to "downloading .NET 2.0", with no prompts of any kind.

2. There is no download progress: the last message shown in the dialog box is "Sending Request...", and the progress bar doesn't move. I can tell that the download is happening, since my bandwidth monitor spikes at this time.

3. When I hit the X on the download window, nothing happens. The dotnetinstaller log (attached) says "DOWNLOAD CANCELLED" several times, but the window never goes away, and the bandwidth monitor stays pegged. (I've resorted to killing the process.)

I admit I'm a newbie with this software! Here is the XML file and log.

Thanks,

Ben

 

 

<?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="basic" fileversion="" productversion="" log_enabled="True" log_file="#TEMPPATH\dotNetInstallerLog.txt">
  <schema version="1.10.1525.0" generator="dotNetInstaller InstallerEditor" />
  <configuration dialog_caption=" Video Converter Setup" dialog_message="In order to install the Video Converter, you must first install these 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="" installation_completed="APPLICATION_NAME installed successfully!" uninstallation_completed="APPLICATION_NAME uninstalled successfully!" installation_none="APPLICATION_NAME is already installed!" uninstallation_none="APPLICATION_NAME is not installed!" installing_component_wait="Installing %s. Please wait ..." uninstalling_component_wait="Uninstalling %s. Wait, this operation could 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" reload_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_default_button="cancel" 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="False" reboot_cmd="" show_progress_dialog="True" show_cab_dialog="True" type="install" lcid_filter="" language_id="" language="" os_filter="" os_filter_min="" os_filter_max="" processor_architecture_filter="" supports_install="True" supports_uninstall="True">
    <component command="&quot;#TEMPPATH\NetFx20SP1_x86\NetFx20SP1_x86.exe&quot; /c:install /norestart /qb" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="3010" id="Microsoft .NET Framework 2.0 SP1 (x86)" display_name="Microsoft .NET Framework 2.0 SP1 (x86)" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="True" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" default_continue_on_error="False" required_install="True" required_uninstall="False" selected_install="True" selected_uninstall="False" note="English - Standard - x86 - .NET Framework 2.0 SP1" processor_architecture_filter="x86" status_installed="Not Installed" status_notinstalled="Not Installed" supports_install="True" supports_uninstall="False" show_progress_dialog="True" show_cab_dialog="True">
      <installedcheck path="SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" fieldname="Version" fieldvalue="2.0.50727.4927" defaultvalue="False" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
      <downloaddialog dialog_caption="Microsoft .NET Framework 2.0 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft .NET Framework 2.0" dialog_message_downloading="Download in Progress. Please wait ..." dialog_message_copying="Copying ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
        <download componentname="Microsoft .NET Framework 2.0" sourceurl="http://download.microsoft.com/download/0/8/c/08c19fa4-4c4f-4ffb-9d6c-150906578c9e/NetFx20SP1_x86.exe" sourcepath="" destinationpath="#TEMPPATH\NetFx20SP1_x86" destinationfilename="" alwaysdownload="True" clear_cache="False" />
      </downloaddialog>
    </component>
    <component command="&quot;#TEMPPATH\NetFx20SP1_x64\NetFx20SP1_x64.exe&quot; /c:install /norestart /qb" command_silent="" command_basic="" uninstall_command="" uninstall_command_silent="" uninstall_command_basic="" returncodes_success="" returncodes_reboot="3010" id="Microsoft .NET Framework 2.0 SP1 (x64)" display_name="Microsoft .NET Framework 2.0 SP1 (x64)" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="cmd" installcompletemessage="" uninstallcompletemessage="" mustreboot="True" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" default_continue_on_error="False" required_install="True" required_uninstall="False" selected_install="True" selected_uninstall="False" note="English - Standard - x64 - .NET Framework 2.0 SP1" processor_architecture_filter="x64" status_installed="Installed" status_notinstalled="Installed" supports_install="True" supports_uninstall="False" show_progress_dialog="True" show_cab_dialog="True">
      <installedcheck path="SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" fieldname="Version" fieldvalue="2.0.50727.4927" defaultvalue="False" fieldtype="REG_SZ" comparison="version" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check" />
      <downloaddialog dialog_caption="Microsoft .NET Framework 2.0 - Download Components" dialog_message="Press 'Start' to download the required components for installing Microsoft .NET Framework 2.0" dialog_message_downloading="Download in Progress. Please wait ..." dialog_message_copying="Copying ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="False" buttonstart_caption="Start" buttoncancel_caption="Cancel">
        <download componentname="Microsoft .NET Framework 2.0" sourceurl="http://download.microsoft.com/download/9/8/6/98610406-c2b7-45a4-bdc3-9db1b1c5f7e2/NetFx20SP1_x64.exe" sourcepath="" destinationpath="#TEMPPATH\NetFx20SP1_x64" destinationfilename="" alwaysdownload="True" clear_cache="False" />
      </downloaddialog>
    </component>
    <component package="#CABPATH\VideoConverterSetup.msi" cmdparameters="" cmdparameters_silent="" cmdparameters_basic="" uninstall_package="" uninstall_cmdparameters="" uninstall_cmdparameters_silent="" uninstall_cmdparameters_basic="" id="VideoConverterSetup" display_name="" uninstall_display_name="" os_filter="" os_filter_min="" os_filter_max="" os_filter_lcid="" type="msi" installcompletemessage="" uninstallcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" default_continue_on_error="False" required_install="True" required_uninstall="True" selected_install="True" selected_uninstall="True" note="" processor_architecture_filter="" status_installed="" status_notinstalled="" supports_install="True" supports_uninstall="True" show_progress_dialog="False" show_cab_dialog="False">
      <embedfile sourcefilepath="VideoConverterSetup.msi" targetfilepath="VideoConverterSetup.msi" />
    </component>
  </configuration>
</configurations>

Log:

2010-11-12 14:38:30    -------------------------------------------------------------------
2010-11-12 14:38:30    dotNetInstaller (DNI), version 1.10.1525.0
2010-11-12 14:38:30    Copyright (c) DevAge, Vestris Inc. & Contributors
2010-11-12 14:38:30    Operating system: Windows 7
2010-11-12 14:38:30    -------------------------------------------------------------------
2010-11-12 14:38:30    Sequence: install
2010-11-12 14:38:30    UI level: basic
2010-11-12 14:38:30    -- Loading supported components (lcid=1033)
2010-11-12 14:38:30    -- Microsoft .NET Framework 2.0 SP1 (x86) (display_name='Microsoft .NET Framework 2.0 SP1 (x86)', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x86): SKIPPED
2010-11-12 14:38:30    -- Microsoft .NET Framework 2.0 SP1 (x64) (display_name='Microsoft .NET Framework 2.0 SP1 (x64)', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x64): LOADED
2010-11-12 14:38:30    -- VideoConverterSetup (display_name='', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2010-11-12 14:38:30    --- Loaded 2 supported component(s)
2010-11-12 14:38:30    Checking whether registry value 'SOFTWARE\Microsoft\NET Framework Setup\NDDDP\v2.0.50727\Version' exists
2010-11-12 14:38:30    *** No registry key found: SOFTWARE\Microsoft\NET Framework Setup\NDDDP\v2.0.50727\Version, default value: false
2010-11-12 14:38:30    -- Microsoft .NET Framework 2.0 SP1 (x64) (Microsoft .NET Framework 2.0 SP1 (x64)): NOT INSTALLED
2010-11-12 14:38:30    -- VideoConverterSetup (): NOT INSTALLED
2010-11-12 14:38:30    Silent mode: automatically starting install
2010-11-12 14:38:30    -- Loading supported components (lcid=1033)
2010-11-12 14:38:30    -- Microsoft .NET Framework 2.0 SP1 (x86) (display_name='Microsoft .NET Framework 2.0 SP1 (x86)', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x86): SKIPPED
2010-11-12 14:38:30    -- Microsoft .NET Framework 2.0 SP1 (x64) (display_name='Microsoft .NET Framework 2.0 SP1 (x64)', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=x64): LOADED
2010-11-12 14:38:30    -- VideoConverterSetup (display_name='', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2010-11-12 14:38:30    --- Loaded 2 supported component(s)
2010-11-12 14:38:30    Extracting embedded files for component '*': NO FILES EMBEDDED
2010-11-12 14:38:30    --- Component 'Microsoft .NET Framework 2.0 SP1 (x64)' (Microsoft .NET Framework 2.0 SP1 (x64)): EXECUTING
2010-11-12 14:38:30    Extracting embedded files for component 'Microsoft .NET Framework 2.0 SP1 (x64)': NO FILES EMBEDDED
2010-11-12 14:38:30    Destination 'C:\Users\Ben\AppData\Local\Temp\NetFx20SP1_x64\NetFx20SP1_x64.exe', exists=False, copy=False
2010-11-12 14:38:30    Destination 'C:\Users\Ben\AppData\Local\Temp\NetFx20SP1_x64\NetFx20SP1_x64.exe', exists=False, download=True
2010-11-12 14:38:30    Opening download dialog 'Microsoft .NET Framework 2.0 - Download Components'
2010-11-12 14:38:30    Destination 'C:\Users\Ben\AppData\Local\Temp\NetFx20SP1_x64\NetFx20SP1_x64.exe', exists=False, copy=False
2010-11-12 14:38:30    Destination 'C:\Users\Ben\AppData\Local\Temp\NetFx20SP1_x64\NetFx20SP1_x64.exe', exists=False, download=True
2010-11-12 14:38:30    Downloading 'Microsoft .NET Framework 2.0', source='http://download.microsoft.com/download/9/8/6/98610406-c2b7-45a4-bdc3-9db1b1c5f7e2/NetFx20SP1_x64.exe', destination='C:\Users\Ben\AppData\Local\Temp\NetFx20SP1_x64', full='C:\Users\Ben\AppData\Local\Temp\NetFx20SP1_x64\NetFx20SP1_x64.exe', always download=True
2010-11-12 14:38:38    *** Download CANCELED
2010-11-12 14:38:42    *** Download CANCELED

Nov 12, 2010 at 11:02 PM

So, I was able to get the intro screen to reappear by changing the UI mode to "full" -- I'd forgotten that I'd changed it to "basic" earlier. Still, the other two problems remain, and now I have a new question:

If .NET is not installed, how can I get the intro screen to display _only_ .NET as a "component that needs to be installed"? Right now, that screen shows .NET with a checkbox next to it (correct) and also a blank line with a checkbox next to it, which I assume is for the VideoConverterSetup component. I'd rather that didn't show up at all in the selection list, since it's not a component so much as the main reason to run the setup in the first place.

Thanks again,

Ben

Coordinator
Nov 12, 2010 at 11:27 PM

Do you have the download progress problem even in non-basic mode, ie. full UI? I cannot reproduce it with 1.10 on my Windows 7 with your configuration. DNI download uses Wininet (a Windows component) that provides live status in terms of how far it's into the download and stuff like that. The progress bar increments and cancel is instant. If you have other machines, try the same configuration to see if it's isolated to this specific box, we can think of what to do next.

If you want to hide the installer for your actual program, you can use the "complete command" to run it. That will solve your second problem, but I recommend you just display it with a full name and not treat the bootstrapper is just for pre-requisites. Have your component install as any other component.