Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# setup Deployment
Hello,
 
we have created one window application using C# and create deployment project in VS 2010. In the setup we have set the option so it download the .msi file from the URL give in the "Installation URL".
 
our .msi file is big in size and put on server. Now what is my confusion is when we click on .exe file it first download the .msi file from server and after it it install it from server using msiexec.exe command so it take double time (download from server and install from server)
 
we have checked this from install.log file from temp folder Text in that file something like...
 
-----------------------------------
Downloading 'project.msi' from 'http://##URL##/project.msi' to ''
Download completed at
WinVerifyTrust returned -2146762496
File not signed
WinVerifyTrust returned 0
File trusted
Launching Application.
Will attempt to elevate process.
Running command 'C:\Windows\SysWOW64\msiexec.exe' with arguments ' -I "http://##URL##/project.msi" '
-------------------------------------------------------
 
so is there any seeting so way we can install it from downloaded location not from URL.
 
Please help me on this.
 
Thanks,
Posted 2-Jun-13 22:57pm
tgeek0012.4K
Comments
Pablo Aliskevicius at 3-Jun-13 5:26am
   
Google 'click once'.
David_Wimbley at 3-Jun-13 15:53pm
   
not to mention a simple search on code project for previous articles.
Sergey Alexandrovich Kryukov at 3-Jun-13 23:13pm
   
The problem is not clear, but it's not true that it's double work. If setup downloads MSI from the server, this can be the MSI which contains all the files inside its CABs. Or, it can additionally download something, but without duplication anything. Of course, every correct thing could be screwed up, but there is nothing inherently wrong is such scenario.
—SA
Amitosh Swain at 4-Jun-13 1:03am
   
Why not remove the download option, it automatically downloads and installs it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,192
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 3 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100