double download of my .msi file

Nov 24, 2009 at 4:19 AM

Hi,

I am a new member to this group. I hope i will get the solution for my problem.

My problem with bootstrapper is as follows:

I have created a .msi file using wix, since wix doesn't have any way to check for dependency i used Generatebootstrapper option of visual studio to generate my bootstrapper exe(setup.exe). Now we need to give this setup.exe for download to our users, so that when they download it will be few kb, and when they run this exe , that in turn will check if dependencies exist on the user's machine if not then download from our site and install and then download the application(i.e. .msi file) and install it.

now my problem is it works fine as far as the dependency installation, but after that it shows me a progress bar which shows it is downloading application files, it takes some time here and then it starts installing the application again from the url, so in total my installation process is very very slow.

i hope u will undustand this problem and give some solution to this.

Thanks

Priya

 

Coordinator
Nov 24, 2009 at 10:48 AM

It sounds like you're using Visual Studio bootstrapper, not dotNetInstaller. This discussion and site is about dotNetInstaller.

Nov 25, 2009 at 4:11 AM
Edited Nov 28, 2009 at 4:19 AM

Thanks for the reply.
Yes before going through dotnetinstaller I wrote this post , but after going through I want to really thank you for the best bootstrapper generator I got.
I was struggling with this visual studio bootstrapper almost for 2 weeks and dotnetinstaller gave me exactly what I wanted.

Once again thanks you very much for a excellent tool.

Regards,
Priya

Coordinator
Nov 25, 2009 at 12:02 PM

Thanks for your kind comments.

Nov 28, 2009 at 4:22 AM

Hi

I am having problem running my package exe file.

The package file I created contains dotnetframework, vcredist and my application msi file, when I build the exe it got build successfully but when I try to run the file it gives following error: "Error extracting 'c:\Docume~1....\Temp\\{GUID}\Setup_1.CAB'; Failure writing to target file".

Thanks in advance.

Regards,

Priya

 

 

Coordinator
Nov 28, 2009 at 5:49 PM

I think your config file says {GUID} somewhere, it should be #GUID.

Nov 30, 2009 at 5:22 AM

I am using CABPATH as #TEMPPATH\#GUID , but still getting this error.

I have got 1 more issue, in my websetup, werein all my dependencies and the msi file is on the server and I am giving bootstrapper exe for customer to download, in this situation when the product is getting downloaded in case if it is not downloaded properly , i think still it starts running the incomplete downloaded file and thows an error : "Installation package couldnot be opened ..." , so in such condition if i again try to run my downloaded exe it gives the same message. Actually wht i expect here is it should propmt a proper message that download is not proper and cannot start installation , or when i again run the exe it should complete the full download and then run my msi file.

Thanks in advance

Regards,

Priya

 

 

Coordinator
Nov 30, 2009 at 11:55 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Nov 30, 2009 at 11:56 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Nov 30, 2009 at 11:58 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Nov 30, 2009 at 12:00 PM

I split this in three feature requests, all of which could resolve this problem.

I think the first one is most promising in terms of resolving this. Vote for the one that seems like the best solution.

 
Coordinator
Nov 30, 2009 at 3:12 PM

There's something else going on here. The first two issues were resolved in 1.7.

The downloaded file should have never been copied to its final destination unless it has been fully successfuly downloaded. Files are downloaded to <your filename>.tmp first, then this file is moved. The only thing I could think of is that if the download is partial, then dotNetInstaller moves the partial .tmp file - I added code that gets rid of this .tmp file before attempting a new download in build 1.8.5920.0.

I also added a clear_cache option, maybe IE is serving a partial file.

Post a log file and I'll help you find out what's going on.

Dec 1, 2009 at 6:46 AM

hi

i got the soln for first problem, that is the extraction error which i was getting while running the final package exe, i had to extract it to a subfolder in the cabpath folder and run it from there, then it works fine.

actually the second err comes very often so i will post u the log file very soon.

thanks

 

Dec 3, 2009 at 5:18 AM

hello

i  m posting here the content  of my log file when i get error while downloading setup

Log file is here:

2009-12-02 16:39:20    -------------------------------------------------------------------
2009-12-02 16:39:20    dotNetInstaller (DNI), version 1.7.29433.0
2009-12-02 16:39:20    Copyright (c) DevAge, Vestris Inc. & Contributors
2009-12-02 16:39:20    Operating system: Windows XP Sp2
2009-12-02 16:39:20    -------------------------------------------------------------------
2009-12-02 16:39:20    -- Microsoft .NET Framework 2.0 SP1 (x86) (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=x86): LOADED
2009-12-02 16:39:20    -- Microsoft Visual C++ 2008 Redistributable (x86) (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=x86,x64): LOADED
2009-12-02 16:39:20    -- My Apllication (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=): LOADED
2009-12-02 16:39:20    --- Loaded 3 supported component(s)
2009-12-02 16:39:20    Reading Registry: SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install
2009-12-02 16:39:20    Registry key found: SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install
2009-12-02 16:39:20    Registry value: 1
2009-12-02 16:39:20    Check value: 1
2009-12-02 16:39:20    -- Microsoft .NET Framework 2.0 SP1 (x86): INSTALLED
2009-12-02 16:39:20    Reading Registry: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}\Version
2009-12-02 16:39:20    Registry key found: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}\Version
2009-12-02 16:39:20    Registry value: 151025673
2009-12-02 16:39:20    Check value: 1
2009-12-02 16:39:20    -- Microsoft Visual C++ 2008 Redistributable (x86): INSTALLED
2009-12-02 16:39:20    -- My Apllication: NOT INSTALLED
2009-12-02 16:39:22    Extracting CABs
2009-12-02 16:39:22    Cabpath: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}
2009-12-02 16:39:22    Extracting: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\SETUP_1.CAB
2009-12-02 16:39:59    Extracted: SETUP_1
2009-12-02 16:39:59    Extracting: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\SETUP_2.CAB
2009-12-02 16:40:00    Extracted: SETUP_2
2009-12-02 16:40:00    Extracting: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\SETUP_3.CAB
2009-12-02 16:40:00    Extracted: SETUP_3
2009-12-02 16:40:00    Extracted 63.0MB from 3 resource segment(s)
2009-12-02 16:40:00    Cabfile: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\SETUP_1.CAB
2009-12-02 16:40:00    Extracting: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\DotNetFX
2009-12-02 16:40:01    Done: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\DotNetFX
2009-12-02 16:40:01    Extracting: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\vcredist_x86
2009-12-02 16:40:01    Done: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\vcredist_x86
2009-12-02 16:40:01    Extracting: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\
2009-12-02 16:40:02    *** Failed to install one or more components: Error extracting 'C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}\SETUP_1.CAB': Failure writing to target file
2009-12-02 16:40:05    Deleting temporary folder: C:\DOCUME~1\admin\LOCALS~1\Temp\{11341C61-BB11-4724-A04E-2FAF364FACCC}
2009-12-02 16:40:05    dotNetInstaller finished, return code=-1

 

thanx

priya

Coordinator
Dec 3, 2009 at 12:58 PM

I am totally confused now :) The log doesn't show any downloads, but it clearly shows that there was a failure writing to the target output (could be out of disk space or something else). So lets restart from the beginning.

  1. Attach your configuration file. Does it have a reference configuration being downloaded?
  2. Describe to me, step by step, what happens that leads to ths failure.

 

Dec 11, 2009 at 10:02 AM

Hi,

Sorry I couldn't continue with our discussion as I was busy with some other task.

I will try to explain my problem once again.

On my server I have my configuration.xml, application.msi , the setup.exe and dependency.

user dowbloads setup.exe and when he run this file, configuration file is downloaded in temp and this starts my application setup download and install.

my xml which i use to build the setup.exe is as follows:

<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="True" log_file="#TEMPPATH\InstallerLog.txt">
<schema version="1.7.29433.0" generator="dotNetInstaller InstallerEditor"/>

    <configuration type="reference" lcid_filter="" language_id="" language="" os_filter_greater="" os_filter_smaller="" processor_architecture_filter="">
<configfile filename="#TEMPPATH\Configuration.xml"/>

    <downloaddialog dialog_caption="My App - Download Components" dialog_message="Press 'Start' to download the required components for installing My App." dialog_message_downloading="Downloading ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="True" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<download componentname="Configuration.xml" sourceurl="http://mysite.co.in/MyApp/configuration.xml" sourcepath="" destinationpath="#TEMPPATH" destinationfilename="" alwaysdownload="True"/>
</downloaddialog>
</configuration>
</configurations>

 

My main configuration file looks as below:

<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="True" log_file="#TEMPPATH\InstallLog.txt">
<schema version="1.7.29433.0" generator="dotNetInstaller InstallerEditor"/>

    <configuration dialog_caption="My APP Installer" dialog_message="In order to install My APP you must first install these components:" dialog_bitmap="#APPPATH\banner.bmp" skip_caption="Skip" install_caption="Install" cancel_caption="Close" status_installed=" (Installed)" status_notinstalled="" failed_exec_command_continue="Failed to install %s. Continue with others components?" installation_completed="My APP installed successfully!" installation_none="My APP is already installed!" installing_component_wait="Installing %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" allow_continue_on_error="True" dialog_show_installed="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="False" reboot_cmd="" type="install" lcid_filter="" language_id="" language="" os_filter_greater="" os_filter_smaller="" processor_architecture_filter="">

    <component command="#CABPATH\DotNetFX\dotnetfx.exe /q:a /c:"install /qb"" command_silent="" command_basic="" os_filter_greater="" os_filter_smaller="" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" required="True" description="Microsoft .NET Framework 2.0 SP1 (x86)" note="English - Standard - x86 - .NET Framework 2.0 SP1" processor_architecture_filter="x86" status_installed="" status_notinstalled="">
<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"/>

    <downloaddialog dialog_caption=".Net Framework 2.0 - Download Components" dialog_message="Press 'Start' to download the required components for installing .Net Framework 2.0." dialog_message_downloading="Downloading ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="True" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<download componentname="DotNetFx.exe" sourceurl="http://mysite.co.in/MyApp/DotNetFx/DotNetFx.exe" sourcepath="" destinationpath="#CABPATH\DotNetFX" destinationfilename="" alwaysdownload="True"/>
</downloaddialog>
</component>

    <component command="#CABPATH\VcRedist\vcredist_x86.exe /c:install /norestart /qb" command_silent="" command_basic="" os_filter_greater="" os_filter_smaller="" os_filter_lcid="" type="cmd" installcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="False" required="True" description="Microsoft Visual C++ 2008 Redistributable (x86)" note="English - Standard - x86 - Microsoft Visual C++ 2008 Redistributable" processor_architecture_filter="x86,x64" status_installed="" status_notinstalled="">
<installedcheck path="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}" fieldname="Version" fieldvalue="1" fieldtype="REG_DWORD" comparison="exists" rootkey="HKEY_LOCAL_MACHINE" wowoption="NONE" type="check_registry_value" description="Installed Check"/>

    <downloaddialog dialog_caption="VcRedist - Download Components" dialog_message="Press 'Start' to download the required components for installing VcRedist." dialog_message_downloading="Downloading ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="True" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<download componentname="VcRedist.exe" sourceurl="http://mysite.co.in/MyApp/vcredist_x86/vcredist_x86.exe" sourcepath="" destinationpath="#CABPATH\VcRedist" destinationfilename="" alwaysdownload="True"/>
</downloaddialog>
</component>

    <component package="#CABPATH\MyApp\My APP.msi" cmdparameters="" cmdparameters_silent="/qn" cmdparameters_basic="/qb" os_filter_greater="" os_filter_smaller="" os_filter_lcid="" type="msi" installcompletemessage="" mustreboot="False" reboot_required="" must_reboot_required="False" failed_exec_command_continue="" allow_continue_on_error="True" required="True" description="My APP" note="" processor_architecture_filter="" status_installed="" status_notinstalled="">

    <downloaddialog dialog_caption="My APP - Download Components" dialog_message="Press 'Start' to download the required components for installing My APP." dialog_message_downloading="Downloading ..." dialog_message_connecting="Connecting ..." dialog_message_sendingrequest="Sending request ..." autostartdownload="True" buttonstart_caption="Start" buttoncancel_caption="Cancel">
<download componentname="My APP.msi" sourceurl="http://mysite.co.in/MyApp/My APP.msi" sourcepath="" destinationpath="#CABPATH\MyApp" destinationfilename="" alwaysdownload="True"/>
</downloaddialog>
</component>
</configuration>
</configurations>

now the problem is, when my application is getting downloaded, in case if network breaks and if the download is not complete, even though, it renames it from.tmp to the actual file and tries to run this file and at that point flashes a message "This application package could not be opened. Contact the application vendor to verify that this is a valid windows Installer package".

So as per me it should have prompted me a valid message saying the download is incomplete.

In such case if I close the installer window and then try again installing it doesn't start downloading remaining part of the file but prompts same message again.

Only if I go to IE -> Tools->Internet options-> Delete Cookies & DeleteFiles, then the download starts all over again.

What I expect from my installer is that in case if connection with the server breaks then it should prompt me a proper message and on next try it should again start from the point it got broke and complete the download and then execute this full msi file.

In case of incomplete download this is the log file:

2009-12-11 15:29:16    -------------------------------------------------------------------
2009-12-11 15:29:16    dotNetInstaller (DNI), version 1.7.29433.0
2009-12-11 15:29:16    Copyright (c) DevAge, Vestris Inc. & Contributors
2009-12-11 15:29:16    Operating system: Windows XP Sp2
2009-12-11 15:29:16    -------------------------------------------------------------------
2009-12-11 15:29:16    -- Microsoft .NET Framework 2.0 SP1 (x86) (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=x86): LOADED
2009-12-11 15:29:16    -- Microsoft Visual C++ 2008 Redistributable (x86) (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=x86,x64): LOADED
2009-12-11 15:29:16    -- My app (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=): LOADED
2009-12-11 15:29:16    --- Loaded 3 supported component(s)
2009-12-11 15:29:16    Reading Registry: SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install
2009-12-11 15:29:16    Registry key found: SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727\Install
2009-12-11 15:29:16    Registry value: 1
2009-12-11 15:29:16    Check value: 1
2009-12-11 15:29:16    -- Microsoft .NET Framework 2.0 SP1 (x86): INSTALLED
2009-12-11 15:29:16    Reading Registry: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}\Version
2009-12-11 15:29:16    Registry key found: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}\Version
2009-12-11 15:29:16    Registry value: 151025673
2009-12-11 15:29:16    Check value: 1
2009-12-11 15:29:16    -- Microsoft Visual C++ 2008 Redistributable (x86): INSTALLED
2009-12-11 15:29:16    -- My app: NOT INSTALLED
2009-12-11 15:29:17    Extracting CABs
2009-12-11 15:29:17    Cabpath: C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}
2009-12-11 15:29:17    Extracting: C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\SETUP_1.CAB
2009-12-11 15:29:17    Extracted: SETUP_1
2009-12-11 15:29:17    Extracted 36 bytes from 1 resource segment(s)
2009-12-11 15:29:17    Cabfile: C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\SETUP_1.CAB
2009-12-11 15:29:17    Extracted CAB: C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\SETUP_1.CAB
2009-12-11 15:29:17    Deleting: C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\SETUP_1.CAB
2009-12-11 15:29:17    Deleted 1 CAB file(s)
2009-12-11 15:29:18    -- Microsoft .NET Framework 2.0 SP1 (x86) (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=x86): LOADED
2009-12-11 15:29:18    -- Microsoft Visual C++ 2008 Redistributable (x86) (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=x86,x64): LOADED
2009-12-11 15:29:18    -- My app (os_filter_lcid=, os_filter_greater=, os_filter_smaller=, processor_architecture_filter=): LOADED
2009-12-11 15:29:18    --- Loaded 3 supported component(s)
2009-12-11 15:29:18    --- Component 'Microsoft .NET Framework 2.0 SP1 (x86)': SKIPPED
2009-12-11 15:29:18    --- Component 'Microsoft Visual C++ 2008 Redistributable (x86)': SKIPPED
2009-12-11 15:29:18    --- Component 'My app': EXECUTING
2009-12-11 15:29:18    Opening download dialog 'My app - Download Components'
2009-12-11 15:29:18    Downloading 'My app.msi', source='http://MyApp.co.in/MyApp/My app.msi', destination='C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\MyAPP', full='C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\MyAPP\My app.msi', always download=True
2009-12-11 15:29:18    Creating directory 'C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\MyAPP'
2009-12-11 15:33:50    Download 'My app.msi', size=24.1MB: OK
2009-12-11 15:33:50    --- Download OK
2009-12-11 15:33:50    Closing download dialog 'My app - Download Components'
2009-12-11 15:33:50    Executing: msiexec /I "C:\DOCUME~1\pp_p\LOCALS~1\Temp\\{94E5BB06-C8E6-4F18-BBF4-7AA836351C97}\MyAPP\My app.msi"

 

I hope now I have cleared my problem to you, hoping to get a immediate solution to this.

Regards,

Priya

 

 

 

 

Coordinator
Dec 13, 2009 at 2:19 PM

Okay, the problem is much clearer now. Thank you. The download is actually unsuccessful, but dotNetInstaller believes it is (and the rest works as designed).

I think you should upgrade to 1.8 and see whether this problem goes away. I added a new option that force clears the cache before downloading the file (clear_cache, true by default). The worst case scenario is that a user got a "can't run this installer" error, retries (which clears the cache, downloads) and it works.

Fyi: I tested partial download in 1.8 by pulling the network cable out and I got an expected error. I shutdown my test website in the middle too. All these things worked correctly. I googled for people having similar problems wth URLDownloadToFile, which is the only function available on all operating systems that's used for download. There seem to be a few posts that report similar problems, especially on operating systems like XP with older versions of urlmon.

 

Dec 31, 2009 at 9:28 AM

hi

I am back, I tried the bootstrapper with 1.8 version but my issue is still not solved. If connection is broken it still gives me the error message "This application package could not be opened. Contact the application vendor to verify that this is a valid windows Installer package", when i checked the temp folder it had renamed the temp file to my actual file and thus the incomplete file it ws trying to run.

In this case if I close the file and try again it used to create a new folder but in that it used to put the same incomplete file and through same message.

regards

Prita

Coordinator
Dec 31, 2009 at 1:22 PM

I don't know what to say. I think your download thinks it completed. Maybe it's something with the server. I need you to help me find a way to reproduce this.

Jan 4, 2010 at 4:18 AM

Hi,

When I disable my network or remove the network plug then I get error message and if I replug it then starts downloading, we are on a local network and connected to the  main server using a proxy server, so i think when the connection between the proxy and the main server breaks this error of incomplete download occurs.  I just want to ask,  in your download process are you checking the downloaded file size with the actual file size on the server?

Can I edit your dll?

Also i think this clear_Cache didnt server any purpose , because as i told u it was keeping the last incomplete donwlod and stra from ther and give the rror message.

Please help me on this.

Regards,

Priya

 

 

Coordinator
Jan 7, 2010 at 10:32 AM

I am not checking the download file size, because I don't know it. The download is entirely handled by the operating system.

Check out the documentation on contributing to dotNetInstaller. You can get the source code, build it, edit it, etc.

Coordinator
Jan 12, 2010 at 6:37 PM

One other idea. You can use #GUID or #PID in your download destination filename. That would be unique all or most of the time. Downloading into a different filename could possibly work around this problem.