ClickOnce and Setup & Deployment Projects ForumDiscuss the ClickOnce deployment technology as well as using Windows Forms controls from inside Internet Explorer.© 2009 Microsoft Corporation. All rights reserved.Sat, 28 Nov 2009 09:48:11 Z01583cde-9be2-42b3-966c-b3d5618945b1http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/5c5e7a03-d19b-4ae2-bcea-11502bc4ad03http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/5c5e7a03-d19b-4ae2-bcea-11502bc4ad03DeMolay8613http://social.msdn.microsoft.com/Profile/en-US/?user=DeMolay8613Publishing A Program?I'm trying to publish the program so that the user can install the program on his/her computer and then can open the program through an exe file on their desktop instead of using the standard .application file that the publisher creates when you publish the program. Does anyone know how I can do this?Sun, 22 Nov 2009 05:51:33 Z2009-11-28T09:48:11Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/e98376bb-13f0-48f3-b1cd-700a7eec25d1http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/e98376bb-13f0-48f3-b1cd-700a7eec25d1Jeyanth.shttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeyanth.shelp regarding reading xml I have a solution file where it contains 2 windows applications in one applications xml files are presented in bin\debug folder,and in the another application i am getting data from these xml files located in former application ,my problem is when i debug this application its working fine ,i am getting the xml file path as <br/><br/>appdomain.currentdomain.basedirectory, from this i am doing some string path manipulation to point to the 2nd application bin\debug\xml files folder ,<br/><br/>its working fine inside IDE while in debug mode ,when i make a setup and install this application the xml files cannot be read by the other application, it says file not found ..what i have to do for this ...can anybody help me ...<br/><br/>Sat, 28 Nov 2009 05:24:41 Z2009-11-28T05:39:15Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/03041215-d077-46de-a6ed-bd4e2fe54f09http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/03041215-d077-46de-a6ed-bd4e2fe54f09Jeyanth.shttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeyanth.shelp regarding setupi have a solution file where it contains 2 windows application and a setup project ,i have also added the primary output of these 2 files in the file system of websetup,but when i deploy the application the applications are deployed in seperate paths like this<br/><br/>C:\program files \my app one<br/>C:\program files \my app two<br/><br/>but my need is like this <br/><br/>C:\program files \apps\my app one<br/>C:\program files \apps\my app two<br/><br/>Eventhough these 2 applications are installed in one folder of program files ,but in start -&gt;programs menu i got these 2 apps path as seperate ,<br/><br/>i dont know how to change these properties in setup files is there any solution to this?pls help.....Sat, 28 Nov 2009 05:13:22 Z2009-11-28T05:13:22Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/266bca33-18ed-4026-8a2b-54a584264568http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/266bca33-18ed-4026-8a2b-54a584264568Chaitu Dhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chaitu%20DNot able to connec to .accdb file after deploying from ClickOnceMy app.config file looks like this:<br/><br/><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;?</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">xml</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> </span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">version</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">1.0</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> </span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">encoding</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">utf-8</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> ?&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">configuration</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">configSections</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">configSections</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">connectionStrings</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">add</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> </span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">DhanalakshmiChits.Properties.Settings.CHITSConnectionString</span></span><span style="font-size:x-small">&quot;</span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p> </p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">connectionString</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Database\CHITS.accdb</span></span><span style="font-size:x-small">&quot;</span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p> </p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">providerName</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">System.Data.OleDb</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> /&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">add</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> </span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">name</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">DhanalakshmiChits.Properties.Settings.CHITSConnection</span></span><span style="font-size:x-small">&quot;</span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p> </p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">connectionString</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">Provider=Microsoft.ACE.OLEDB.12.0;Data Source=Database\CHITS.accdb</span></span><span style="font-size:x-small">&quot;</span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p> </p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">providerName</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">System.Data.OleDb</span></span><span style="font-size:x-small">&quot;</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> /&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">connectionStrings</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&gt;<font size=2 color="#0000ff"><font size=2 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=2 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">configuration</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">&gt;<br/><br/>After Deploy, publish folder structure looks like this:<br/>DhanalakshmiChits_1_0_0_5\Database\CHITS.accdb.deploy<br/>DhanalakshmiChits_1_0_0_5\DhanalakshmiChits.application<br/>DhanalakshmiChits_1_0_0_5\DhanalakshmiChits.exe.config.deploy<br/>DhanalakshmiChits_1_0_0_5\DhanalakshmiChits.exe.deploy<br/>DhanalakshmiChits_1_0_0_5\DhanalakshmiChits.exe.manifest<br/><br/>When I run the application after Deploying: I am getting this error:<br/>C:\Documents and Settings\l88510\Local Settings\Apps\2.0\W2HCO0J0.Y0V\XYHLQD55.5Q1\dhan..tion_0bb7e29fe14907be_0001.0000_a6ffc4cd64f64abe\Database\CHITS.accdb' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.<br/><br/>How should I rectify this problem?</span></span></p>Fri, 27 Nov 2009 10:55:56 Z2009-11-28T04:10:36Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/57c573c5-3dc6-437d-bf55-e346d89b1769http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/57c573c5-3dc6-437d-bf55-e346d89b1769joelatihttp://social.msdn.microsoft.com/Profile/en-US/?user=joelatiClickonce installation - Illegal characters in pathHi Everyone, <div><br/></div> <div>I am having a strange problem with some Clickonce installations.</div> <div>The clickonce application gets deployed okay, but every time it tries to run I get &quot;Application cannot be started. Contact the Application Vendor&quot;.</div> <div><br/></div> <div>Below is the clickonce log file. Notice there is a strange character at the end of the url - <strong>%7C</strong>.</div> <div>I think that's where the problem lies, but I can't figure out how it got there.</div> <div><br/></div> <div>I would be very appreciative of any suggestions!</div> <div>Thanks in advance,</div> <div><br/></div> <div>Joel</div> <div><br/></div> <div> <div style="padding-left:50px"> <div>PLATFORM VERSION INFO</div> <div><span style="white-space:pre"> </span>Windows <span style="white-space:pre"> </span>: 5.1.2600.196608 (Win32NT)</div> <div><span style="white-space:pre"> </span>Common Language Runtime <span style="white-space:pre"> </span>: 2.0.50727.42</div> <div><span style="white-space:pre"> </span>System.Deployment.dll <span style="white-space:pre"> </span>: 2.0.50727.42 (RTM.050727-4200)</div> <div><span style="white-space:pre"> </span>mscorwks.dll <span style="white-space:pre"> </span>: 2.0.50727.42 (RTM.050727-4200)</div> <div><span style="white-space:pre"> </span>dfdll.dll <span style="white-space:pre"> </span>: 2.0.50727.42 (RTM.050727-4200)</div> <div><span style="white-space:pre"> </span>dfshim.dll <span style="white-space:pre"> </span>: 2.0.50727.42 (RTM.050727-4200)</div> <div><br/></div> <div>SOURCES</div> <div style="background-color:yellow"><span style="white-space:pre"> </span>Deployment url<span style="white-space:pre"> </span>: file:///C:/Documents%20and%20Settings/user/Start%20Menu/Programs/MyAppplications/MyApp.appref-ms<strong>%7C</strong></div> <div><br/></div> <div>ERROR SUMMARY</div> <div><span style="white-space:pre"> </span>Below is a summary of the errors, details of these errors are listed later in the log.</div> <div><span style="white-space:pre"> </span>* Activation of <span style="background-color:yellow">C:\Documents and Settings\user\Start Menu\Programs\MyApplication\MyApp.appref-ms|</span> resulted in exception. Following failure messages were detected:</div> <div><span style="white-space:pre"> </span>+ Illegal characters in path.</div> <div><br/></div> <div>COMPONENT STORE TRANSACTION FAILURE SUMMARY</div> <div><span style="white-space:pre"> </span>No transaction error was detected.</div> <div><br/></div> <div>WARNINGS</div> <div><span style="white-space:pre"> </span>There were no warnings during this operation.</div> <div><br/></div> <div>OPERATION PROGRESS STATUS</div> <div><span style="white-space:pre"> </span>* [11/4/2009 7:46:22 AM] : Activation of C:\Documents and Settings\user\Start Menu\Programs\MyApplications\MyApp.appref-ms| has started.</div> <div><br/></div> <div>ERROR DETAILS</div> <div><span style="white-space:pre"> </span>Following errors were detected during this operation.</div> <div><span style="white-space:pre"> </span>* [11/4/2009 7:46:22 AM] System.ArgumentException</div> <div><span style="white-space:pre"> </span>- Illegal characters in path.</div> <div><span style="white-space:pre"> </span>- Source: mscorlib</div> <div><span style="white-space:pre"> </span>- Stack trace:</div> <div><span style="white-space:pre"> </span>at System.IO.Path.CheckInvalidPathChars(String path)</div> <div><span style="white-space:pre"> </span>at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)</div> <div><span style="white-space:pre"> </span>at System.IO.Path.GetFullPathInternal(String path)</div> <div><span style="white-space:pre"> </span>at System.IO.FileInfo..ctor(String fileName)</div> <div><span style="white-space:pre"> </span>at System.Deployment.Application.ShellExposure.ParseAppShortcut(String shortcutFile, DefinitionIdentity&amp; subId, Uri&amp; providerUri)</div> <div><span style="white-space:pre"> </span>at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, TempFile&amp; deployFile)</div> <div><span style="white-space:pre"> </span>at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)</div> <div><span style="white-space:pre"> </span>at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)</div> <div><br/></div> </div> </div>Thu, 12 Nov 2009 00:15:26 Z2009-11-28T04:07:49Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/7e18d884-d2ea-498f-95e5-93eef8f1f073http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/7e18d884-d2ea-498f-95e5-93eef8f1f073Ralf Kohnhttp://social.msdn.microsoft.com/Profile/en-US/?user=Ralf%20KohnWhere is the SQLStudio?Hello, just downloaded SQL2008 (free version) which I need for a class. My old computer died today so I bought a new one (3 classes left)! Anyway, when I go to all programs and click on SQLServer2008, it only lists two things below it &quot;Import and Export Data (64 Bit)' and &quot;SQL Server Configuration Manager&quot; Where is the main program and what have I done wrong?? Help please, I have a project due in two weeks and have been using the program daily. Thanks in advance, RalfSat, 28 Nov 2009 03:35:28 Z2009-11-28T04:04:46Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/dd3ad0ae-b688-42a6-b36f-ff145a384f67http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/dd3ad0ae-b688-42a6-b36f-ff145a384f67OlafChttp://social.msdn.microsoft.com/Profile/en-US/?user=OlafCWin dir variable in registry editorHi - <br/><br/>I was hoping to write a quick and easy msi using the Setup and Deployment project in Visual Studio.<br/>I've been fairly successfull so far, but i'm stuck on one little (hopefully trivial thing).<br/><br/>In the Registry editor for my setup I successfully use a variable in a keys value [TARGETDIR]Some.dll.<br/>After running the setup this resolves to the actual &quot;installation dir \ Some.Dll&quot;<br/><br/>Now, I need to reference a dll in the windows installation directory too.<br/>SYSTEM32\MSCOREE.DLL<br/><br/>But couldnt fin the token [Windir]? [WindowsDir]? that i can use to reference the windows dir.<br/><br/>any help is greatly appreciated.<br/>Fri, 27 Nov 2009 14:35:17 Z2009-11-27T19:34:22Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0c0e1c86-1834-4d52-86e2-0e93a81f9f68http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0c0e1c86-1834-4d52-86e2-0e93a81f9f68josip cagaljhttp://social.msdn.microsoft.com/Profile/en-US/?user=josip%20cagaljInstal more than one application and some drivers...Hi to all.<br/> I have the following situation I need to solve using single setup (MSI):<br/> 1. Install first app silently and run it with '/REGSERVER' (eg. &quot;firstApp.exe /REGSERVER&quot;),<br/> 2. Install second app and then ask user if he want to run it upon closing msi.<br/> 3. Ask user if he would like to install some drivers (for some usb phone) and if so install it.<br/> <br/> This scenario could be install firstApp, install secondApp, ask if he wants drivers and if so install, run &quot;firstApp.exe /REGSERVER&quot;, ih he wants run &quot;secondApp.exe&quot; and exit msi!<br/> <br/> First app should be placed in it's own folder/s:  (Aplication Folder) -&gt; [ProgramFilesFolder][Manufacturer]/[FirstApp name] while second app and optional drivers should go in: (Application Folder) -&gt; [ProgramFilesFolder][Manufacturer]/[SecondApp name].<br/> <br/> Big thanks in advance and if something is not clear to you I'd be more than happy to provide more information's.<br/> <br/>  <br/>Fri, 27 Nov 2009 12:10:59 Z2009-11-27T12:11:00Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/edf969b1-8407-4253-92c5-bef92c96bf3dhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/edf969b1-8407-4253-92c5-bef92c96bf3dSygrienhttp://social.msdn.microsoft.com/Profile/en-US/?user=SygrienDeploying Connection StringHello,<br/>I have a problem in the deployment of the same application to different customers.<br/><br/>Each customer has a different server name, so I need to be able to change the connection string without recompiling the application.<br/>I have two issues :<br/>1) which is the file that should be changed (I find several)<br/>2) is this file always available at the customer after deployment ?<br/><br/>Let me explain a little more :<br/>1) In the directory of the project that contains the connection string, I find several &quot;looking-alike&quot; files :<br/>in the main directory, I find &quot;app.config&quot;<br/>in the bin/debug, I find &quot;xxxxx.vshost.exe.config&quot; and also &quot;xxxxx.dll.config&quot;<br/><br/>Should I tamper with the bin/debug files or stick to the obvious &quot;app.config&quot; ?<br/>Should I replace the connection string in the &quot;app.config&quot; file ? Manually ? Please help...<br/><br/>2) My application is in fact built with two levels :<br/>- the main program that manages the user interface,<br/>- the data-access program that contains the connection string<br/>Is this good programming ? Should I consider revisiting this ?<br/>Of course, the data-access program is compiled as a .dll. Since the connection string belongs to the data-access program, what happened to it ?<br/>I'm using Click-Once. Should I change deployment tool ?<br/>In the publishing directory, I see now my xxxxx.dll.deploy, but no connection string anywhere ??<br/>How may I change it for various customers ?<br/>Please help !!!<br/><br/>Thanks<br/>Tue, 24 Nov 2009 12:41:48 Z2009-11-27T10:35:15Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/b5b30a4a-af04-4966-bb19-e076cbaf6c58http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/b5b30a4a-af04-4966-bb19-e076cbaf6c58MSD123http://social.msdn.microsoft.com/Profile/en-US/?user=MSD123Myservice.service.Installer.Installstate not found: Error 1001Hi,<br/>I had a problem in updating app.config file during upgrade install(with VS2008). And with the help of the information found here in this forum and other links I solved the issue of copying new files during upgrade install which required me to make changes so that the msi from VS2008 works like the one from VS2005. And referring to the link <a href="http://www.windowsdevelop.com/clickonce-setup--deployment-projects/updating-nonversioned-files-4706.shtml">http://www.windowsdevelop.com/clickonce-setup--deployment-projects/updating-nonversioned-files-4706.shtml</a> I modified my msbuild.xml and added:<br/><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff;font-family:"><span style="font-size:x-small;color:#0000ff;font-family:"> <p>&lt;</p> </span></span></span><span style="font-size:x-small;color:#0000ff;font-family:"> <p> </p> </span></span> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">Exec</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> </span></span><span style="font-size:x-small;color:#ff0000"><span style="font-size:x-small;color:#ff0000">Command</span></span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">=</span></span><span>&quot;<span style="font-size:x-small;color:#0000ff">cscript.exe %22$(SetupProjDir)WiRunSQL.vbs%22 %22$(SetupPath)%22 %22UPDATE `InstallExecuteSequence` SET `InstallExecuteSequence`.`Sequence`='1525' WHERE `InstallExecuteSequence`.`Action`='RemoveExistingProducts'%22</span>&quot;<span style="font-size:x-small;color:#0000ff"> /&gt;<br/><br/>This works fine for me but there is one problem in reinstall to another folder and do a repair. The scenario is as follows:<br/><br/>1. Install ver1.0 into default folder. (C:\Program Files\MyService) - I can see Myservice.service.Installer.Installstate in the folder.<br/>2. Install ver2.0 into another folder (C:\temp\MyDir) - Myservice.service.Installer.Installstate is not found.<br/>3. Now I removed few files from C:\temp\MyDir folder and run the setup for ver2.0.<br/>4. I get a repair option from the installer UI. The repair process starts and fails to complete.<br/><br/>I get an error : Error 1001 :Could not find file C:\temp\MyDir\Myservice.service.Installer.Installstate.<br/><br/>I am not able to figure out why the .installstate file was not created in the installation I did to another directory..<br/>Is there anything wrong in the way I am running the SQL query to modify the RemoveExistingProducts?<br/><br/>I have to basically solve the upgrade install issue to replace the latest app.config file using VS2008 installer.<br/><br/>Any help on this regard will be greatly appreciated.<br/><br/>Thanks,<br/>Maddy</span></span></p>Thu, 26 Nov 2009 05:21:29 Z2009-11-27T09:52:02Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/ac7fc6dd-0c2d-45cf-9eb8-873357cd0880http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/ac7fc6dd-0c2d-45cf-9eb8-873357cd0880Mahenderhttp://social.msdn.microsoft.com/Profile/en-US/?user=MahenderHow to show status on windows InstallerHi,<br/>Is there any possibility of Custom action invoking VS user interface dialogs or updating User Interface dialog with messages.<br/><br/>or <br/><br/>How to show progreess bar information with progress control in installer stepup<br/><br/>With regards,<br/>Mahens<hr class="sig">MahenderWed, 25 Nov 2009 20:29:01 Z2009-11-27T09:27:21Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/ace2a9a6-df00-4d7d-91aa-1b377d15fb3bhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/ace2a9a6-df00-4d7d-91aa-1b377d15fb3bAaronator1http://social.msdn.microsoft.com/Profile/en-US/?user=Aaronator1Click once application still intermittently checks for updates.<p align=left><font face=Arial size=2>I have a click once application that am working on changing to On Demand style updates.  I have the application should check for updates checkbox unchecked and use the following code</font></p> <p align=left> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Snippet</span></div> <p align=left> </p><font size=2> <p align=left></font><font color="#0000ff" size=2><font color="#0000ff" size=2>Try</p></font></font><font size=2> <p align=left></font><font color="#0000ff" size=2><font color="#0000ff" size=2>Dim</font></font><font size=2> uci </font><font color="#0000ff" size=2><font color="#0000ff" size=2>As</font></font><font size=2> UpdateCheckInfo = ApplicationDeployment.CurrentDeployment.CheckForDetailedUpdate()</p> <p align=left>  publishedVersion = uci.AvailableVersion()</p> <p align=left></font><font color="#0000ff" size=2><font color="#0000ff" size=2>Catch</font></font><font size=2> ex </font><font color="#0000ff" size=2><font color="#0000ff" size=2>As</font></font><font size=2> System.InvalidOperationException</p> <p align=left>  publishedVersion = localVersion</p> <p align=left></font><font color="#0000ff" size=2><font color="#0000ff" size=2>End</font></font><font size=2> </font><font color="#0000ff" size=2><font color="#0000ff" size=2>Try</font></font></p> <p align=left> </p></div></div> <p align=left> </p> <p>to determine if an update is needed and load the version # of the published update if available.</p> <p align=left> </p> <p align=left>Most of the time it works great, but intermittently it updates automatically rather than On Demand - as if I had never unchecked the &quot;check for updates&quot; checkbox.</p> <p align=left> </p> <p align=left>Does anybody know what is going on?</p>Mon, 01 Sep 2008 18:33:39 Z2009-11-27T08:46:39Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/a53d8dc4-e763-41d9-bc8f-2e4e83d372dchttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/a53d8dc4-e763-41d9-bc8f-2e4e83d372dctukunahttp://social.msdn.microsoft.com/Profile/en-US/?user=tukunaMultilingual Dialogs while installation &lt;!-- /* Font Definitions */ @font-face {font-family:新細明體; panose-1:2 2 3 0 0 0 0 0 0 0; mso-font-alt:&quot;\!Ps2OcuAe&quot;; mso-font-charset:136; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:3 135135232 22 0 1048577 0;} @font-face {font-family:&quot;Cambria Math&quot;; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-alt:&quot;Calisto MT&quot;; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1107304683 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-alt:&quot;Times New Roman&quot;; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:&quot;\@新細明體&quot;; panose-1:2 2 3 0 0 0 0 0 0 0; mso-font-charset:136; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:3 135135232 22 0 1048577 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:&quot;&quot;; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:新細明體; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:&quot;Times New Roman&quot;; mso-bidi-theme-font:minor-bidi;} span.EmailStyle15 {mso-style-type:personal; mso-style-noshow:yes; mso-style-unhide:no; mso-ansi-font-size:11.0pt; mso-bidi-font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:新細明體; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:&quot;Times New Roman&quot;; mso-bidi-theme-font:minor-bidi; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:新細明體; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:&quot;Times New Roman&quot;; mso-bidi-theme-font:minor-bidi;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --&gt; <p class=MsoNormal>I am creating on setup package for 6 languages.</p> <p class=MsoNormal> </p> <p class=MsoNormal>On click of the installer, it should ask the user to choose the language</p> <p class=MsoNormal>On selection of a specific language in the first screen , remaining installation dialogs <span> </span> should be in that selected language.</p> <p class=MsoNormal>I am using one custom dialog which is created using Orca ,it contains one dropdown to select the language .This custom Dialog is the first screen while installing .</p> <p class=MsoNormal>Suppose user selected langauge as French in the choose langauage dialog then the remaining dialogs should be french.</p> <p class=MsoNormal>How can I show the remaining Dialogs in <span> </span> other languages .</p> <p class=MsoNormal>Please anybody help me .</p>Thu, 19 Nov 2009 14:47:36 Z2009-11-27T08:24:14Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/b941a93d-f8a4-443c-8868-da7ffe9c035fhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/b941a93d-f8a4-443c-8868-da7ffe9c035fJain_MShttp://social.msdn.microsoft.com/Profile/en-US/?user=Jain_MSNeed to call (ODBC) Data Source Administrator dialog screen while installing my MSI .( in VS 2005)HI All,<br/> While installing my Application's MSI , it has to prompt for ODBC Data Source Administator Dialog screen , from which i need to select my DSN name , UID , PASSWORD...<br/><br/>Please let me know ..<br/>Ur Help much Appreciated.<br/><br/><br/>Regds<br/>Jain.Tue, 24 Nov 2009 16:28:41 Z2009-11-27T07:19:50Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/da863c31-44b2-4d9d-a6b6-d8fb4598108ahttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/da863c31-44b2-4d9d-a6b6-d8fb4598108asalmaanhttp://social.msdn.microsoft.com/Profile/en-US/?user=salmaanRegistry not getting delete Hi ,<br/> I have made setup it is running perfectly in all Operating system (Vista, xp, windows 7 , etc) . when i run the setup registry is not getting deleted from one of the XP system but the same setup is running perfectly on other XP system i.e the registry is getting delete there but the problem is continue with the one XP system. Can any one help me .<br/> Location of registry is (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\)<br/>  Any response will be appreciated...Tue, 24 Nov 2009 10:23:02 Z2009-11-27T06:07:14Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/ba399573-62c9-42c7-b5bd-7c096226b6b2http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/ba399573-62c9-42c7-b5bd-7c096226b6b2Shital Phttp://social.msdn.microsoft.com/Profile/en-US/?user=Shital%20PClick Once Deployment issueHello,<br/> My asp.net application has two aspx pages myPage1.aspx and myPage2.aspx. I have created one click once application which I launch from my aspx page.<br/> If I lauched my click once application by clicking link from page myPage1.aspx, it gets downloaded and installed on client machine properly. Then if click link on myPage2.aspx which also initiated my click once application , but click once application can not start it shows a meesage &quot; Application can not start becouse it is already installed from another location &quot;.<br/> <br/> Pl help me out<br/> <br/>Tue, 24 Nov 2009 08:49:57 Z2009-11-27T05:25:55Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/6bead7aa-cdc5-4b3d-af0c-82f246b2a3b8http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/6bead7aa-cdc5-4b3d-af0c-82f246b2a3b8Kannan1017http://social.msdn.microsoft.com/Profile/en-US/?user=Kannan1017The installer was interrupted before Application could be installed...<p align=left><font face=Arial size=2>hi ,</font></p> <p align=left> </p> <p align=left>I have created a deployment (MSI)package for project (Web setup). </p> <p align=left>This is working fine in Windows XP. When i run in Windows 2003 server i am getting the following message.</p> <p align=left> </p> <p>&quot;The installer was interrupted before Application could be installed. You need to restart the installer to try again. </p> <p align=left>Click &quot;Close&quot; to exit.&quot;</p> <p align=left> </p> <p align=left>When i double click the MSI File, first screen i am getting is above one.</p> <p align=left>This was working fine first. I did installation and un installation 4 ,5 times. after that its giving the above message in windows 2003.</p> <p align=left> </p> <p align=left>I dont know whether Windows Installer corrupted...</p> <p align=left> </p> <p align=left>MSI package is not wrong bcoz its working in windows XP.</p> <p align=left> </p> <p align=left>Please give me solution to overcome this issue.</p> <p align=left> </p> <p align=left>Thanks</p>Wed, 16 Apr 2008 16:38:03 Z2009-11-27T04:51:41Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/c607036a-e80e-42c9-9353-8754415a8e2fhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/c607036a-e80e-42c9-9353-8754415a8e2fcristoball50http://social.msdn.microsoft.com/Profile/en-US/?user=cristoball50Publishing applicationsToday I tried to publish an application, that I had previously published and am working on quite often... However, I could not. I corrected the problem by going to the main file in the solution explorer which has the name of the namespace, clicking signing and deselecting 'Sign the ClickOnce Manifests'. I was wondering why the change, and why it cant sign this... Any ideas as to what may have happened?<br/><br/>Thank youSat, 21 Nov 2009 13:48:16 Z2009-11-26T21:05:40Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/9e4b714e-bad4-4c62-a7ad-3c80e32d95ebhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/9e4b714e-bad4-4c62-a7ad-3c80e32d95ebTaylor Meekhttp://social.msdn.microsoft.com/Profile/en-US/?user=Taylor%20MeekClickOnce Fails with "Value does not fall within the expected range."I have a ClickOnce-deployed application installed in offline mode across a range of Windows 2000/XP machines on my network. I now receive an 'Application cannot be started. Contact the application vendor.' error message when I attempt to run the application on my development machine. (It works still on the production machines.)<br><br>I've run mage -cc, and renamed the '2.0' directory to '2.0x' to ignore its presence. Add/Remove Programs still shows it, and clicking Change/Remove pops up a window for a moment, but otherwise does nothing apparent.<br><br>I've changed the installation path to be a network path instead of a website, and it still fails. <br>The following is the error log:<br><br><div style="margin-left:40px;font-family:Courier New,Courier,Monospace"><font size=1><font style="color:rgb(128, 128, 128)" size=2>PLATFORM VERSION INFO<br>    Windows             : 5.1.2600.131072 (Win32NT)<br>    Common Language Runtime     : 2.0.50727.42<br>    System.Deployment.dll         : 2.0.50727.42 (RTM.050727-4200)<br>    mscorwks.dll             : 2.0.50727.42 (RTM.050727-4200)<br>    dfdll.dll             : 2.0.50727.42 (RTM.050727-4200)<br>    dfshim.dll             : 2.0.50727.42 (RTM.050727-4200)<br><br>SOURCES<br>    Deployment url            : file:///M:/COLoader/CutoffLoader.application<br><br>ERROR SUMMARY<br>    Below is a summary of the errors, details of these errors are listed later in the log.<br>    * Activation of M:\COLoader\CutoffLoader.application resulted in exception. Following failure messages were detected:<br>        + Value does not fall within the expected range.<br><br>COMPONENT STORE TRANSACTION FAILURE SUMMARY<br>    No transaction error was detected.<br><br>WARNINGS<br>    There were no warnings during this operation.<br><br>OPERATION PROGRESS STATUS<br>    * [4/25/2006 3:24:04 PM] : Activation of M:\COLoader\CutoffLoader.application has started.<br><br>ERROR DETAILS<br>    Following errors were detected during this operation.<br>    * [4/25/2006 3:24:04 PM] System.ArgumentException<br>        - Value does not fall within the expected range.<br>        - Source: System.Deployment<br>        - Stack trace:<br>            at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore(UInt32 Flags, IntPtr hToken, Guid&amp; riid)<br>            at System.Deployment.Internal.Isolation.IsolationInterop.GetUserStore()<br>            at System.Deployment.Application.ComponentStore..ctor(ComponentStoreType storeType, SubscriptionStore subStore)<br>            at System.Deployment.Application.SubscriptionStore..ctor(String deployPath, String tempPath, ComponentStoreType storeType)<br>            at System.Deployment.Application.SubscriptionStore.get_CurrentUser()<br>            at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)<br>            at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)<br><br>COMPONENT STORE TRANSACTION DETAILS<br>    No transaction information is available.</font><br><br></font></div>Any help would be appreciated.<br><br>Sincerely,<br><br>Taylor Meek<br>Tue, 25 Apr 2006 22:27:43 Z2009-11-26T20:48:49Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/d3b5c5f0-c9fc-401d-bb5d-4d88c6930649http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/d3b5c5f0-c9fc-401d-bb5d-4d88c6930649PSudhttp://social.msdn.microsoft.com/Profile/en-US/?user=PSudSecuring app.config during ClickOnce Deployment<br/> I am trying to secure app.config file for one-click deployment in a WinForm application in a distributed environment.<br/> <br/> Below is a code that I wrote. It does not work if I encrypt app.config file and then deploy it. I will really appreciate if you could point me in the right direction. How can I accomplish a non-random non-machine specific encryption so that the app.config file is deployed encrypted in the shared folder to start with. With the code I have below, the app.config.deploy.exe contains un-encrypted stings and can be seen anyone. Only the first time a user runs the application the string gets encrypted on his local machine. <br/> <br/> I also came across a blog entry for &quot;Windows Forms Connection String Encryption Challenges&quot; at link http://guy.dotnet-expertise.com/CommentView,guid,b3850894-3a8e-4b0a-aa52-5fa1d1216377.aspx#commentstart where he points out that there is way to &quot;Encrypt the connection string using a non-random and non-machine specific method.&quot; and I wonder what is meant by this particular point.<br/> <br/> <br/> ###############################################<br/> <br/> <br/>     ''' &lt;summary&gt;<br/>     ''' Converts standard &quot;NameValueSectionHandler&quot; configuration Xml<br/>     ''' to a NameValueCollection.<br/>     ''' &lt;/summary&gt;<br/>     ''' &lt;param name=&quot;sectionXML&quot;&gt;Xml to convert&lt;/param&gt;<br/>     ''' &lt;returns&gt;A valid name value collection object&lt;/returns&gt;<br/>     ''' &lt;remarks&gt;<br/>     ''' No error handling.<br/>     ''' &lt;/remarks&gt;<br/>     Private Shared Function GetNameValueCollectionFromXml(ByVal sectionXML As String) As NameValueCollection<br/>         Dim nvCollection As New NameValueCollection<br/> <br/>         If Not IsNothing(sectionXML) Then<br/>             Using xmlReaderVariable As XmlReader = XmlReader.Create(New System.IO.StringReader(sectionXML))<br/> <br/>                 While xmlReaderVariable.Read<br/>                     If xmlReaderVariable.LocalName.ToLower.Equals(&quot;add&quot;) Then<br/>                         If xmlReaderVariable.HasAttributes Then<br/>                             nvCollection.Add(xmlReaderVariable.GetAttribute(&quot;key&quot;), xmlReaderVariable.GetAttribute(&quot;value&quot;))<br/>                         End If<br/>                     End If<br/>                 End While<br/>                 xmlReaderVariable.Close()<br/>             End Using<br/>         End If<br/> <br/>         If nvCollection.Count = 0 Then<br/>             nvCollection = Nothing<br/>         End If<br/> <br/>         Return nvCollection<br/> <br/>     End Function<br/> <br/>     ''' &lt;summary&gt;<br/>     ''' Encrypt a section of a configuration file.<br/>     ''' &lt;/summary&gt;<br/>     ''' &lt;param name=&quot;sectionKey&quot;&gt;&lt;/param&gt;<br/>     ''' &lt;returns&gt;&lt;/returns&gt;<br/>     ''' &lt;remarks&gt;&lt;/remarks&gt;<br/>     Private Shared Function EncryptConfigurationSection(ByVal sectionKey As String) As ConfigurationSection<br/>         Dim config As System.Configuration.Configuration<br/>         Dim protectedConfigurationSection As ConfigurationSection<br/> <br/>         config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)<br/>         protectedConfigurationSection = config.GetSection(sectionKey)<br/> <br/>         ' Encrypt when possible<br/>         If protectedConfigurationSection IsNot Nothing _<br/>         AndAlso Not protectedConfigurationSection.IsReadOnly _<br/>         AndAlso Not protectedConfigurationSection.SectionInformation.IsProtected _<br/>         AndAlso Not protectedConfigurationSection.SectionInformation.IsLocked _<br/>         AndAlso Not protectedConfigurationSection.SectionInformation.IsDeclared Then<br/>             protectedConfigurationSection.SectionInformation.ProtectSection(&quot;DataProtectionConfigurationProvider&quot;)<br/>             protectedConfigurationSection.SectionInformation.ForceSave = True<br/>             config.Save(ConfigurationSaveMode.Full)<br/>         End If<br/> <br/>         Return protectedConfigurationSection<br/>     End Function<br/> <br/>     ''' &lt;summary&gt;<br/>     ''' Decrypt a encrypted section of configuration file.<br/>     ''' &lt;/summary&gt;<br/>     ''' &lt;param name=&quot;sectionKey&quot;&gt;&lt;/param&gt;<br/>     ''' &lt;returns&gt;&lt;/returns&gt;<br/>     ''' &lt;remarks&gt;&lt;/remarks&gt;<br/>     Private Shared Function DecryptConfigurationSection(ByVal sectionKey As String) As String<br/>         Dim config As System.Configuration.Configuration<br/>         Dim protectedConfigurationSection As ConfigurationSection<br/>         Dim sectionXML As String = Nothing<br/> <br/>         config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None)<br/>         protectedConfigurationSection = config.GetSection(sectionKey)<br/> <br/>         If Not (protectedConfigurationSection Is Nothing) Then<br/>             If Not (protectedConfigurationSection.ElementInformation.IsLocked) Then<br/>                 If protectedConfigurationSection.SectionInformation.IsProtected Then<br/>                     sectionXML = protectedConfigurationSection.SectionInformation.GetRawXml<br/>                 Else<br/>             ' First time run, will encrypt it if the section is not encrypted.<br/>                     sectionXML = EncryptConfigurationSection(sectionKey).SectionInformation.GetRawXml<br/>                 End If<br/>             End If<br/>         End If<br/> <br/>         Return sectionXML<br/>     End Function<br/> <br/> <br/> Public Shared ReadOnly Property AppRole() As String<br/>         Get<br/>             Dim sectionXML As String<br/>             Dim nvCollection As NameValueCollection<br/> <br/>             sectionXML = DecryptConfigurationSection(&quot;appSettings&quot;)<br/>             nvCollection = GetNameValueCollectionFromXml(sectionXML)<br/> <br/> <br/>             Return nvCollection.Get(&quot;sAppRoleName&quot;)<br/> <br/>         End Get<br/>     End Property<br/>     Public Shared ReadOnly Property AppPwd() As String<br/>         Get<br/>             Dim sectionXML As String<br/>             Dim nvCollection As NameValueCollection<br/> <br/>             sectionXML = DecryptConfigurationSection(&quot;appSettings&quot;)<br/>             nvCollection = GetNameValueCollectionFromXml(sectionXML)<br/> <br/>             Return nvCollection.Get(&quot;sAppRolePwd&quot;)<br/> <br/>         End Get<br/>     End Property<br/> <br/> ##################### app.config #######################<br/> <br/> &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br/> &lt;configuration&gt;<br/>   &lt;configSections&gt;<br/>   &lt;/configSections&gt;<br/>   &lt;system.diagnostics&gt;<br/>     &lt;sources&gt;<br/>       &lt;!-- This section defines the logging configuration for My.Application.Log --&gt;<br/>       &lt;source name=&quot;DefaultSource&quot; switchName=&quot;DefaultSwitch&quot;&gt;<br/>         &lt;listeners&gt;<br/>           &lt;add name=&quot;FileLog&quot; /&gt;<br/>           &lt;!-- Uncomment the below section to write to the Application Event Log --&gt;<br/>           &lt;!--&lt;add name=&quot;EventLog&quot;/&gt;--&gt;<br/>         &lt;/listeners&gt;<br/>       &lt;/source&gt;<br/>     &lt;/sources&gt;<br/>     &lt;switches&gt;<br/>       &lt;add name=&quot;DefaultSwitch&quot; value=&quot;Information&quot; /&gt;<br/>     &lt;/switches&gt;<br/>     &lt;sharedListeners&gt;<br/>       &lt;add name=&quot;FileLog&quot; type=&quot;Microsoft.VisualBasic.Logging.FileLogTraceListener, Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL&quot; initializeData=&quot;FileLogWriter&quot; /&gt;<br/>       &lt;!-- Uncomment the below section and replace APPLICATION_NAME with the name of your application to write to the Application Event Log --&gt;<br/>       &lt;!--&lt;add name=&quot;EventLog&quot; type=&quot;System.Diagnostics.EventLogTraceListener&quot; initializeData=&quot;APPLICATION_NAME&quot;/&gt; --&gt;<br/>     &lt;/sharedListeners&gt;<br/>   &lt;/system.diagnostics&gt;<br/>   &lt;appSettings&gt;<br/>     &lt;add key=&quot;sAppRoleName&quot; value=&quot;db_DARSApp&quot; /&gt;<br/>     &lt;add key=&quot;sAppRolePwd&quot; value=&quot;PuntaCana&quot; /&gt;<br/>   &lt;/appSettings&gt;<br/> &lt;/configuration&gt;<br/> <br/> ################################3<br/> <br/> <br/> Thanks in advance for your help.<br/><hr class="sig">PSWed, 18 Nov 2009 00:02:22 Z2009-11-26T20:47:17Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/53c2de93-ab33-41d0-b5dd-7ca5fbfa5c24http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/53c2de93-ab33-41d0-b5dd-7ca5fbfa5c24Helge Norvanghttp://social.msdn.microsoft.com/Profile/en-US/?user=Helge%20NorvangError installing Winforms 2.0 application with ClickOnce deployment<P><FONT face=Tahoma,Helvetica,Sans-Serif size=2>Hi.</FONT></P> <P><FONT face=Tahoma,Helvetica,Sans-Serif size=2>I have an Winforms 2.0 application that I want to deploy using ClickOnce deployment. I have tried it and the deployment seems to work. I get the webpage where I can install the application from, but when I try installing the application I get an Windows error dialog and a '.NET Runtime 2.0 Error Reporting' entry in my Windows eventlog.<BR>Detailed error message:<BR>EventType clr20r3, P1 app.exe, P2 1.0.2211.28810, P3 43d0fb04, P4 mscorlib, P5 2.0.0.0, P6 4333ab80, P7 32f8, P8 d8, P9 system.io.filenotfoundexception, P10 NIL.</FONT></P> <P><FONT face=Tahoma,Helvetica,Sans-Serif size=2>I publish the project to a server within the network I'm on, and the error occurs when I try to install from the generated ClickOnce website from my laptop.</FONT></P> <P><FONT face=Tahoma,Helvetica,Sans-Serif size=2>Does anyone know what could cause this error? I wish it would say which file is missing!</FONT></P> <P><FONT face=Tahoma,Helvetica,Sans-Serif size=2><FONT style="BACKGROUND-COLOR: #ff0000">UPDATE</FONT>: I found that the application seems to have been installed on my laptop, but when I try to run it, I get the error described above.</FONT></P> <P><FONT size=1><FONT face=Tahoma,Helvetica,Sans-Serif size=2>Thanks!</FONT></P></FONT>Mon, 23 Jan 2006 10:33:20 Z2009-11-26T20:45:26Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/61249802-c146-490d-9945-4883c5ac8829http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/61249802-c146-490d-9945-4883c5ac8829Paul Durdinhttp://social.msdn.microsoft.com/Profile/en-US/?user=Paul%20Durdinthe application requires that assembly ADODB Version 7.0.3300.0 be installed in the Global Cache (GAC) firstI have a 'ClickOnce' Windows Forms application that i am trying to deploy. I am getting the message;<br/> <br/> the application requires that assembly ADODB Version 7.0.3300.0 be installed in the Global Cache (GAC) first<br/> <br/> I have included adoDB.dll into the Application Files for deployment and set it to Publish Status = 'Include'. The deployment includes an file adodb.dll.deploy - but this file says that it is version 7.10.3077.0<br/> <br/> Anyone got any thoughts on how to fix this?<br/> <br/> regards<br/> <br/> PaulTue, 29 Sep 2009 18:40:18 Z2009-11-26T20:37:19Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0f4e376d-81e0-42c6-a082-68a7e8f04a48http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0f4e376d-81e0-42c6-a082-68a7e8f04a48eugzlhttp://social.msdn.microsoft.com/Profile/en-US/?user=eugzlpublish problem<p>Hi All.<br/>All my VS2008 project located on network. When I publish project first time I don't have any problem. But when I did some update in project that was published before, build it successully,<span style="font-size:xx-small"> </span>and try to publish it again I got 2 errors messages:<br/><strong>1.Cannot publish because a project failed to build.<br/>2.Unable to remove directory &quot;bin\Release\app.publish\&quot;. <br/>  The process cannot access the file 'ProjectName.exe.manifest' because it is being used by another process.</strong><br/>I know exactly that when I'm republishing <strong><span style="text-decoration:underline">nobody</span></strong> used according project.<br/>Next step I restart server after that I can publish project again. Or copy and past whole project folder under other name that also help. But I cannot very often restart server and create huge amount copies of same project's folders because previous copy I cannot delete also. Only after restart server I have ability to publishing and delete old projects copies. I hope exist best solution. How to fix that problem?<br/>Thanks.</p>Mon, 26 Oct 2009 19:36:06 Z2009-11-26T20:30:44Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/5bd6463b-dc44-4040-94fa-05d417407950http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/5bd6463b-dc44-4040-94fa-05d417407950Vitaliy Avramenkohttp://social.msdn.microsoft.com/Profile/en-US/?user=Vitaliy%20AvramenkoHow to use reflection in ClickOnce deployed application?Hi,<br/> I am developing .NET code protector and one of its task is to check if input EXE file is really .NET one, as well as read its attributes with reflection. I load this .NET assembly to separate application domain in &quot;Reflection only&quot; context and perform required checks. Code works perfectly when I run it from command line, however, it fails from ClickOnce. <br/> Code looks like this one:<br/> <pre lang="x-c#"> /// &lt;summary&gt; /// Checks if PE file is .NET assembly. /// &lt;/summary&gt; /// &lt;param name=&quot;data&quot;&gt;Stream to read PE file from.&lt;/param&gt; /// &lt;returns&gt;&lt;c&gt;true&lt;/c&gt; if &lt;paramref name=&quot;data&quot;/&gt; contains valid .NET assembly, otherwise &lt;c&gt;false.&lt;/c&gt;&lt;/returns&gt; public bool IsNetPE(Stream data) { AppDomain checker = AppDomain.CreateDomain(&quot;Assembly Checker&quot;); try { MemoryStream peSaver = new MemoryStream(); byte[] buffer = new byte[4096]; int bytesRead; do { bytesRead = data.Read(buffer, 0, 4096); peSaver.Write(buffer, 0, bytesRead); } while (bytesRead == 4096); peSaver.Close(); byte[] assemblyBytes = peSaver.ToArray(); checker.SetData(&quot;assemblyBytes&quot;, assemblyBytes); checker.DoCallBack(new CrossAppDomainDelegate(CheckerAppDomainRountine)); bool valid = (bool)checker.GetData(&quot;Valid&quot;); return valid; } finally { AppDomain.Unload(checker); } } /// &lt;summary&gt; /// Tries to load assembly in separate application domain. /// &lt;/summary&gt; private static void CheckerAppDomainRountine() { AppDomain checker = AppDomain.CurrentDomain; try { byte[] assemblyBytes = (byte[])checker.GetData(&quot;assemblyBytes&quot;); Assembly.ReflectionOnlyLoad(assemblyBytes); checker.SetData(&quot;Valid&quot;, true); } catch { checker.SetData(&quot;Valid&quot;, false); } }</pre> <strong>DoCallBack </strong> call results in exception with text &quot;Request for the permission System.Security.Permissions.ReflectionPermission failed&quot;. <br/> Are there any way to get ReflectionPermission with ClickOnce? I checked &quot;This is a full trust application&quot; check box in Visual Studio project properties (on Security tab), but it doesn't help.<br/>Sun, 22 Nov 2009 10:50:35 Z2009-11-26T20:28:47Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/4113e991-a1e5-4af7-801f-adae52e43f6chttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/4113e991-a1e5-4af7-801f-adae52e43f6csiva 2000http://social.msdn.microsoft.com/Profile/en-US/?user=siva%202000Consuming more space when we are using Click Once Deployment we install a windows application using the click once deployment.Application will install into the client pc under the C:\Documents and settings\User\app\....  per suppose this application size is 10 MB now.<br/>If any update in the version it will install the latest version into the client pc same location. this time the size of the folder is 20 MB.<br/><br/>How to over to overcome this issue?Sat, 21 Nov 2009 12:56:19 Z2009-11-26T20:25:34Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/330db276-b428-4623-9157-d2e745b28d9fhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/330db276-b428-4623-9157-d2e745b28d9fYash Ganthehttp://social.msdn.microsoft.com/Profile/en-US/?user=Yash%20GantheHow to automatically upgrade an application?<p>Hi,</p> <p>We have a .NET 2.0 Winforms application that will undergo frequent changes. We need a mechanism of pushing the upgrades to the machines where the app is installed. The app will be deployed in a Citrix environment with &quot;roaming profiles&quot; configured for the domain users. This means it will be installed as a ClickOnce app on one machine and accessed remotely by multiple users.</p> <p>We are against ClickOnce because  by virtue of ClickOnce technology, the app will be installed in Local Settings of the domain user when he starts the app and when the user logs off from the domain, by virtue of roaming profile, the Local Settings folder will vanish taking along the installed app. This will cause the application to be downloaded every time the user logs in to the domain and starts the app.</p> <p>I am not sure whether there is a way to workaround this issue with ClickOnce.</p> <p>An alternative for us would be to create a regular installer MSI package to be deployed for All Users. This would  This would be automatically updated by an Update Server such that when there are updates of the application on the Update Server, they would silently be pushed to the machine where the app is installed. When the app is invoked the next time, it would be the updated version.</p> <p>Is there any out-of-the-box technology that lets us implement the Update Server?<br/>Is there any other approach we can take?</p> <p>Thanks,<br/>Yash</p>Mon, 16 Nov 2009 10:50:44 Z2009-11-26T20:22:36Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/e951fa50-6f20-4fbc-b78c-1bec312a0e08http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/e951fa50-6f20-4fbc-b78c-1bec312a0e08A Bodnarhttp://social.msdn.microsoft.com/Profile/en-US/?user=A%20BodnarError installing .Net Framework 2.0 from bootstrap<p>Hello,</p> <p>This is my first post, so be gentle with me.  I have created my first VB VS 2005 project.  I have successfully published and can run the project on my machine.  I am using ClickOnce FullTrust with .Net Framework 2.0.  I have the project signed and the prerequiste of the .Net Framework 2.0 to be installed from the vendor's website.</p> <p>However, when I try to run the setup.exe to install the project on another machine I get the following error in the install.log:</p> <p>The following properties have been set:<br>Property: [AdminUser] = true {boolean}<br>Property: [ProcessorArchitecture] = Intel {string}<br>Property: [VersionNT] = 5.0.4 {version}<br>Running checks for package '.NET Framework 2.0', phase BuildList<br>Error: Unable to locate file 'd' required for setup.<br>The following error occurred initializing the bootstrapper: &quot;Unable to locate file 'd' required for setup.&quot;<br></p> <p>Any ideas why it is not installing?  The machine I am trying to run setup on currently has .Net Framework 1.1.</p> <p>Thanks!</p> <p> </p> <p> </p> <p> </p>Tue, 17 Oct 2006 18:28:36 Z2009-11-26T20:21:04Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/49240d9a-448b-437c-a434-a7e17108e3ffhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/49240d9a-448b-437c-a434-a7e17108e3ffStefan Walerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Stefan%20WalerClickOnce and how to keep settings (once again)Hi all,<br/> <br/> I've now read a lot of documentation and discussions but didn't found a solution to my problem - maybe there is something wrong with my &quot;point of view&quot;.<br/> <br/> What I would like to achieve:<br/> <br/> <ul> <li>deploying an application using ClickOnce </li> <li>using the Setting class for comfort and type safety reasons</li> <li>providing some settings that are not editable by the user (like connection strings). I would prefer to edit them manually in the XML file. </li> <li>KEEPING those settings during the following upgrade installations</li> </ul> <br/> So here are the problems I can see so far:<br/> <br/> <ul> <li>application settings cannot be used for that purpose because they are generally overwritten by the next upgrade installation (-&gt; I think so, didn't find a definitive statement about that in ClickOnce setup so far?!)</li> <li>user settings don't seem to designed to be editable by hand. The only way to configure them seems to be setting them in the code of the application and saving the configuration. This is nothing I would like to to, because I would need to create something like an &quot;options&quot; dialog where any user could see and change the settings. </li> </ul> <br/> What is the best practice to achieve that?<br/> (A solution I could imagine: is it possible to use the Setting class with a custom config file in a different path?)<br/> <br/> Thanks in advance!<br/> <br/> StefanMon, 23 Nov 2009 16:06:56 Z2009-11-26T20:14:20Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/80af0577-1da8-45fd-982f-8f4a01bb17eehttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/80af0577-1da8-45fd-982f-8f4a01bb17eeronan001http://social.msdn.microsoft.com/Profile/en-US/?user=ronan001Click Once application shortcut.Hi,<br/><br/>I have created a click once application and installed it on my machine. I am trying to figure out where the shortcut in my start menu points to? I know it is installed in my app data folder, but i would like to know where the link in my start menu reads this.  Where does .Net store the file path information??<br/><br/>Could someone give me some information on this? i have searched the web and not found the answer, i guess there is a registry entry or an entry in the GAC or somwhere but i have not been able to find it.<br/><br/><br/>RoTue, 24 Nov 2009 10:26:19 Z2009-11-26T20:11:43Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/26299c0c-6384-4dc8-9965-5b2d2f170885http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/26299c0c-6384-4dc8-9965-5b2d2f170885Paul Morrisshttp://social.msdn.microsoft.com/Profile/en-US/?user=Paul%20MorrissCannot publish application with unsigned manifestI have a ClickOnce app developed in VB Express 2005. I upgraded it to VB Express 2008 recently. I want to publish it with an unsigned manifest, so that we don't have the problem with certificates expiring, and without purchasing a &quot;proper&quot; certificate. The article <a href="http://msdn.microsoft.com/en-us/library/che5h906.aspx">http://msdn.microsoft.com/en-us/library/che5h906.aspx</a> says that there are two ways of doing this. <div><br/></div> <div>If I follow the instructions in the section &quot;<span style="font-size:12px;font-weight:bold">To generate unsigned manifests and include all files in the generated hash&quot; </span><span style="font-size:12px">then I have to fix the version number. Will this stop it automatically updating?</span></div> <div><span style="font-size:small"><span style="font-size:12px"><br/></span></span></div> <div><span style="font-size:small"><span style="font-size:12px">If I follow the instructions in &quot;<span style="font-weight:bold">To generate unsigned manifests and exclude one or more files from the generated hash&quot;</span> then it says </span></span></div> <div><span style="font-size:small"><span style="font-size:12px">&quot;<span style="font-size:11px;line-height:15px">Open the <span class=label style="font-family:'Segoe UI', '‘Lucida Grande’', Verdana, Arial, Helvetica, sans-serif;font-weight:bold">Application Files</span> dialog box and set the <span class=label style="font-family:'Segoe UI', '‘Lucida Grande’', Verdana, Arial, Helvetica, sans-serif;font-weight:bold">Hash</span> to <span class=label style="font-family:'Segoe UI', '‘Lucida Grande’', Verdana, Arial, Helvetica, sans-serif;font-weight:bold">Exclude</span> for the files that you want to exclude from the generated hash.&quot;</span></span></span></div> <div><span style="line-height:15px">However the application files dialog box doesn't mention anything about hashes. Is this a non-Express feature.</span></div> <div><span style="line-height:15px"><br/></span></div>Wed, 18 Nov 2009 16:28:35 Z2009-11-26T20:10:19Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/35798283-81da-4e40-9c1e-811d3e0c4763http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/35798283-81da-4e40-9c1e-811d3e0c4763DanFSDhttp://social.msdn.microsoft.com/Profile/en-US/?user=DanFSDPrerequisites with SQL and Crystal Reports<div class=container> <div class=body>Hello,<br/>I have a program that I have written in VB2008.net Professional and it uses Crystal Reports to print out a report. I upgraded this program from VB2005.net Standard so that I could use Crystal reports. I also have a SQL Server 2005 database built into the program.<br/>1. Do I need to check all of the boxes for Crystal Decisions under Imported Namspaces in my References anything else to make sure that Crystal Reports works after Setup is run ?<br/>2. What prerequisites would be recommended for my Setup Project. For example:<br/>       .NET Framework 2.0 (x86) vs .NET Framework 3.5 ?<br/>       Do I need Microsft Visual Studio 2008 Report Viewer ?<br/>       Do I need SQL Server Compact 3.5 ?<br/>3. Do I need to worry about Setup problems with Windows 7 machines ?<br/><br/>Thank you,<br/>Dan</div> </div>Fri, 13 Nov 2009 01:49:04 Z2009-11-26T20:05:46Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0e6e8cc9-2899-43b5-9d4c-c25c4c1c9ee4http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0e6e8cc9-2899-43b5-9d4c-c25c4c1c9ee4Adam Kanehttp://social.msdn.microsoft.com/Profile/en-US/?user=Adam%20%20KaneReal-world alternative to ClickOnce "publish.htm" sample (with a single link)The default ClickOnce publish.htm has two links:  &quot;Install&quot; and &quot;Launch&quot;.<br/><br/>I understand that the install link is to ensure prerequisites are installed and the launch link is the one to use if the prerequisites are already installed.<br/><br/>However, there is no way you can present two links like this in a real world situation. &quot;Normal&quot; users have no idea what there terms are (for example: &quot;.NET Framework 3.0 (x86)&quot;.<br/><br/>How does one go from the sample publish.htm ClickOnce page to something that could be used in a real world situation?  What my users will require is a single smart &quot;Start&quot; button.  I understand that doing a check for the prerequisites via the web page is not possible, but what I have now is a show stopper for using ClickOnce.  Users just won't know which link they are supposed to click.<br/><br/>My specific application happens to be an XNA game application which requires the XNA Framework Redistributable 3.0.  For me, it works perfectly from the ClickOnce publish page, but this setup is no good for real-world use.  Example:  <a href="http://forgefx.com/posts/xna/kahuna/publish.htm">http://forgefx.com/posts/xna/kahuna/publish.htm</a> <br/><br/> <hr class=sig> Adam Kane, Technical Director, ForgeFX, http://www.forgefx.com/Mon, 23 Nov 2009 18:15:40 Z2009-11-26T19:58:19Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/767aafb4-d8bb-4dc4-9615-7e36b56207a3http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/767aafb4-d8bb-4dc4-9615-7e36b56207a3mstricklandhttp://social.msdn.microsoft.com/Profile/en-US/?user=mstricklandClickOnce File AssociationI have a console application that I'm deploying using ClickOnce.  Once the user installs the program the associations are set but the associated program is the installer and not the actual program.  How can I get the association to be the actual program and not the installer? <div><br/></div> <div>I've included the fileAssociation node from the app.manifest below.  Please let me know if you have any tips on this.  Thanks. <div><br/></div> <div> <div>&lt;fileAssociation xmlns=&quot;urn:schemas-microsoft-com:clickonce.v1&quot; </div> <div>                   extension=&quot;.aav&quot; </div> <div>                   description=&quot;My Program&quot; </div> <div>                   progid=&quot;MyProgram&quot; </div> <div>                   defaultIcon=&quot;myIcon.ico&quot; /&gt;</div> </div> </div>Wed, 18 Nov 2009 22:53:40 Z2009-11-26T19:55:29Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/f8738afd-f566-4193-8767-c07633927030http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/f8738afd-f566-4193-8767-c07633927030bghhhttp://social.msdn.microsoft.com/Profile/en-US/?user=bghhClick once randomly re-installs all appsHi<br/> <br/> We are currently experiencing very strange behavior with the Click once deployment functionality in .Net.   <br/> Several of our applications use click once for deployment purposes and recently when opening a click once application (this seems to happen randomly) it requests a complete re-install of the application (not an update).  The moment this happens in one application all other click once applications on the client machine will prompt for the same re-installation.  <br/> <br/> We have tried to identify a pattern but have found none.  <br/> This happens on various different client machines in different environments and we have rules out a specific operating system issue.  We have seen this problem on Vista and XP client machines.<br/> <br/> Any assistance and suggestions will be highly appreciated.  <br/> <br/> Thank you in advance,<br/> <br/> BernhardMon, 23 Nov 2009 10:15:32 Z2009-11-26T19:51:32Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/7787c8b9-18c3-4135-bd8a-2802eba98e3chttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/7787c8b9-18c3-4135-bd8a-2802eba98e3cTimHaughtonhttp://social.msdn.microsoft.com/Profile/en-US/?user=TimHaughtonClickOnce, Windows 7 and the Program Compatibility AssistantI've just installed our ClickOnce application on Windows 7 RTM. At the end of the bootstrapper's run, before the &quot;actual&quot; application installs, the &quot;Program Compatibility Assistant&quot; pops up to tell me that something might have gone wrong. Obviously, as a standard .Net ClickOnce App, everything went right.<br/> <br/> So, the obvious question: This version was built on 2008 Server, will this problem go away if built on Win7? Is there any other way of making this go away?<br/> <br/> We sell our ClickOnce app to Joe Public, so we can't have a window popping up saying &quot;it might have gone horribly wrong&quot; - if we're lucky, we'd get hundreds of support emails, but most people would simply uninstall.<br/> <br/> Cheers,<br/> <br/> TimTue, 01 Sep 2009 16:46:08 Z2009-11-26T19:46:08Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0856f778-5b05-447d-b7af-1424de55746fhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/0856f778-5b05-447d-b7af-1424de55746flrsg2000http://social.msdn.microsoft.com/Profile/en-US/?user=lrsg2000Different problem 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'c:\ProgramFiles\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'Hello,<br/><br/>I think that I have a different problem.  I am using VS 2008 SP1, .Net 3.5 SP1 and Xna 3.0.<br/><br/>ClickOnce is issuing the warning 'Microsoft.Net.Framework.3.5.SP1' could not be located in 'c:\ProgramFiles\Microsoft SDKs\Windows\v6.0A\Bootstrapper\'.  Under \Bootstrapper I have three folders: Engine, Packages and Schemas.  Under Packages I have, amongst other folders, DotNetFX, DotNetFX30 and DotNetFX35.  I do not have a DotNetFX35SP1 folder anywhere, but Control Panel's Add or Remove Programs shows that I do have Microsoft.Net Framework 3.5 SP1 installed.  What am I doing wrong?<br/><br/>Many thanks in advance,<br/><br/>Louis.<br/>Wed, 01 Jul 2009 14:34:28 Z2009-11-26T19:38:12Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/50850e68-8803-41af-8834-01f2306597fahttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/50850e68-8803-41af-8834-01f2306597faShital Phttp://social.msdn.microsoft.com/Profile/en-US/?user=Shital%20PClick Once Deployment issue<p style="margin:0in;font-family:Calibri;font-size:11pt">Hello,</p> <p style="margin:0in;font-family:Calibri;font-size:11pt">First I will give u workflow of my application.</p> <p style="margin:0in;font-family:Calibri;font-size:11pt">I have developed two application one ASP.NET web application (myWebAppl) and windows application (myWinAppl).</p> <p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-weight:bold">myWebAppl Details :</span> This application has two web pages myPage1.aspx and myPage2.aspx.</p> <p style="margin:0in;font-family:Calibri;font-size:11pt"><span style="font-weight:bold">myWinAppl Details</span> : This is a single instance windows application , which accepts some parameters.</p> <p style="margin:0in;font-family:Calibri;font-size:11pt">Now from myPagep1.aspx and myPage2.aspx (depending on the requirement) I want to check whether myWinAppl is installed on client machine or not</p> <p style="margin:0in;font-family:Calibri;font-size:11pt"><span lang=en-US>      </span> <span lang=en-IN> --- if it is installed , I want run myWinAppl and passed the required parametrs .</span></p> <p style="margin:0in;font-family:Calibri;font-size:11pt"><span lang=en-US>      </span> <span lang=en-IN> ---it it is not installed , web page should promt the user that myWinAppl is not installed on your machine, so down it from server.</span></p> <p style="margin:0in;font-family:Calibri;font-size:11pt"><span lang=en-IN>To acomplish this I have created one small </span> <span style="font-weight:bold" lang=en-US>clickonce </span> <span lang=en-IN>application (myApplLauncher)</span></p> <p style="margin:0in;font-family:Calibri;font-size:11pt">myApplLauncher Details :When user clicks on button of myPagep1.aspx , myPagep1.aspx pass parameters to myApplLauncher application and it  gets downloaded on client machine (by clickonce mechanism). It then checks whether myWinAppl is installed on client machine or not.</p> <p style="margin:0in;font-family:Calibri;font-size:11pt" lang=en-US> </p> <p style="margin:0in;font-family:Calibri;font-size:11pt">This whole workflow is working very well if I used only myPagep1.aspx , also with diiferent parameter values.</p> <p style="margin:0in;font-family:Calibri;font-size:11pt">But problem ouucurs when I want to launce myApplLauncher from myPagep2.aspx.</p> <p style="margin:0in;font-family:Calibri;font-size:11pt">Clickonce application gives me message &quot;clickonce application is already installed from another location &quot;.  Foolowing is error detail:</p> <p style="margin:0in;font-family:Calibri;font-size:11pt"> </p> <p style="margin:0in;font-family:Calibri;font-size:11pt">ERROR DETAILS<br/>     Following errors were detected during this operation.<br/>     * [11/26/2009 1:41:44 PM] System.Deployment.Application.DeploymentException (DeploymentUriDifferent)<br/>         - You cannot start application Keystone CV Launcher from this location because it is already installed from a different location.<br/>         - Source: System.Deployment<br/>         - Stack trace:<br/>             at System.Deployment.Application.ApplicationActivator.CheckDeploymentProviderValidity(ActivationDescription actDesc, SubscriptionState subState)<br/>             at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp; errorPageUrl)<br/>             at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)<br/>         --- Inner Exception ---<br/>         System.Deployment.Application.DeploymentException (DeploymentUriDifferent)<br/>         - You cannot start application Keystone CV Launcher from location <br/> http://testsystem1/keystoneCV/Connector/KeystoneCV_Connector.application?StudyID=cd1ce3e5-54f0-4687-b161-c86145bbabc1&amp;server=http://testsystem1/keystoneCV&amp;ImgPath=http://localhost/KeystoneImages it is already installed from location <br/> http://testsystem1/keystonecv/Connector/KeystoneCV_Connector.application?StudyID=cd1ce3e5-54f0-4687-b161-c86145bbabc1&amp;server=http://testsystem1/keystoneCV&amp;ImgPath=http://localhost/KeystoneImages</p> <p style="margin:0in;font-family:Calibri;font-size:11pt"> </p> <p style="margin:0in;font-family:Calibri;font-size:11pt">Pl help me out</p> <p style="margin:0in;font-family:Calibri;font-size:11pt"> </p> <p style="margin:0in;font-family:Calibri;font-size:11pt">Thanks</p> <p style="margin:0in;font-family:Calibri;font-size:11pt">Shital</p>Thu, 26 Nov 2009 08:21:58 Z2009-11-26T19:31:35Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/adbff1bb-b657-41b6-9da3-00d0c041bcbbhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/adbff1bb-b657-41b6-9da3-00d0c041bcbbMitja Boncahttp://social.msdn.microsoft.com/Profile/en-US/?user=Mitja%20BoncaError after app`s installation<span style="font-family:'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;font-size:13px;color:#333333;line-height:16px">I have done and published application and this is what I got just after the installation: <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">What can be wrong?<br/> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">PLATFORM VERSION INFO</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Windows <span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: 5.1.2600.196608 (Win32NT)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Common Language Runtime <span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: 2.0.50727.3603</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>System.Deployment.dll <span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: 2.0.50727.3053 (netfxsp.050727-3000)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>mscorwks.dll <span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: 2.0.50727.3603 (GDR.050727-3600)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>dfdll.dll <span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: 2.0.50727.3053 (netfxsp.050727-3000)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>dfshim.dll <span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: 2.0.50727.3053 (netfxsp.050727-3000)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">SOURCES</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Deployment url<span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: file:///C:/1/AvtoKrka.application</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Application url<span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: file:///C:/1/Application%20Files/AvtoKrka_0_0_0_66/AvtoKrka.exe.manifest</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">IDENTITIES</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Deployment Identity<span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: AvtoKrka.application, Version=0.0.0.66, Culture=neutral, PublicKeyToken=c8a67d17a3a72edc, processorArchitecture=msil</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Application Identity<span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>: AvtoKrka.exe, Version=0.0.0.66, Culture=neutral, PublicKeyToken=c8a67d17a3a72edc, processorArchitecture=msil, type=win32</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">APPLICATION SUMMARY</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* Installable application.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">ERROR SUMMARY</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Below is a summary of the errors, details of these errors are listed later in the log.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* Activation of C:\1\AvtoKrka.application resulted in exception. Following failure messages were detected:</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ Value does not fall within the expected range.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">COMPONENT STORE TRANSACTION FAILURE SUMMARY</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>No transaction error was detected.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">WARNINGS</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>There were no warnings during this operation.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">OPERATION PROGRESS STATUS</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:29:54] : Activation of C:\1\AvtoKrka.application has started.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:29:55] : Processing of deployment manifest has successfully completed.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:29:55] : Installation of the application has started.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:29:55] : Processing of application manifest has successfully completed.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:29:59] : Request of trust and detection of platform is complete.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:30:00] : Downloading of subscription dependencies is complete.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:30:00] : Commit of the downloaded application has started.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:30:01] : Installation of application has successfully completed.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">ERROR DETAILS</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>Following errors were detected during this operation.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* [26.11.2009 9:30:01] System.ArgumentException</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Value does not fall within the expected range.</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Source: System.Deployment</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Stack trace:</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String&amp; errorPageUrl)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">COMPONENT STORE TRANSACTION DETAILS</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>* Transaction at [26.11.2009 9:30:01]</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponent</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Manifest: NBBZC29C.AXY.application</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Set</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponent</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Manifest: AvtoKrka.exe.manifest</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: AvtoKrka.ico</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: AvtoKrka.mdf</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: AvtoKrka.exe.config</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: AvtoKrka_big.ico</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: AvtoKrka_log.ldf</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponent</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Manifest: office.dll.genman</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: office.dll</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponent</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Manifest: AvtoKrka.exe.genman</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: AvtoKrka.exe</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponent</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Manifest: Microsoft.Vbe.Interop.dll.genman</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- File: Microsoft.Vbe.Interop.dll</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationInstallDeployment</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Installed</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- AppId: file:///C:/1/AvtoKrka.application#AvtoKrka.application, Version=0.0.0.66, Culture=neutral, PublicKeyToken=c8a67d17a3a72edc, processorArchitecture=msil</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- Status: Set</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><span style="font-weight:inherit;font-style:inherit;font-family:inherit;white-space:pre;padding:0px;margin:0px;border:0px initial initial"> </span>- HRESULT: 0x0</div> <div><br/></div> </div> </div> </span>Thu, 26 Nov 2009 10:14:01 Z2009-11-27T12:40:31Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/fa09fa69-e0b4-4970-981e-69175c5764eahttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/fa09fa69-e0b4-4970-981e-69175c5764eaAileron856http://social.msdn.microsoft.com/Profile/en-US/?user=Aileron856Can't use clickonce publishing because of frontpage server extensionsHow do I publish via clickonce deployment to an IIS7 server? I am using Visual Studo 2008 and step through the publishing wizard to publish to a web server running IIS7. I get an error message stating publishing failed because the web server does not appear to have FrontPage Server Exentions installed. These extensions cannot be installed on IIS7.<hr class="sig">RandyWed, 25 Nov 2009 12:23:42 Z2009-11-26T19:20:21Zhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/f584a439-086f-41cc-9d64-ecdf38d21b0dhttp://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/f584a439-086f-41cc-9d64-ecdf38d21b0dMahenderhttp://social.msdn.microsoft.com/Profile/en-US/?user=MahenderHow to invoke a new windows form and pass messages to new form during custom action execution,.<span style="font-family:'Times New Roman';font-size:medium"> <div style="color:#000000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:67%;background-image:initial;background-repeat:initial;background-attachment:initial;background-color:#ffffff;margin:8px">Hi, <div><br/></div> <div>Im trying to instantiate new form during execution of custom actions in a seperate thread.Can any one provide how pass messages(string type) to newly invoked form .i.e update the invoked form with a message from custom action.</div> <div><br/></div> <div>Please respond soon...</div> <div><br/></div> <div>With Regards,</div> <div>Mahender</div> </div> </span><hr class="sig">MahenderThu, 26 Nov 2009 19:10:00 Z2009-11-26T19:10:00Z