SilverlightShow: Building a Web Setup that configures your Silverlight application Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Building a Web Setup that configures your Silverlight application <p>Hello,</p> <p>This post is really solving my problem, but I cannot seem to run it. I get the same error mensioned above "Installer was interripted before Application could be installed. You need to restart the installer to try again" but cannot find why am I getting it. I recreated the same setup project by your instructions and still getting the same mistake. Does anyone knows what is wrong and why am I getting this?? I really need this solution so any answer would be really appreciated.</p> <p>Thank you in advance</p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7475 sofaki_10 http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Wed, 01 Feb 2012 18:01:13 GMT Re: Building a Web Setup that configures your Silverlight application <p>Hello,</p> <p>This post is really solving my problem, but I cannot seem to run it. I get the same error mensioned above "Installer was interripted before Application could be installed. You need to restart the installer to try again" but cannot find why am I getting it. I recreated the same setup project by your instructions and still getting the same mistake. Does anyone knows what is wrong and why am I getting this?? I really need this solution so any answer would be really appreciated.</p> <p>Thank you in advance</p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7474 sofaki_10 http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Wed, 01 Feb 2012 17:54:23 GMT Re: Building a Web Setup that configures your Silverlight application Sounds to me like you either not have access to the .xap file (either it's read-only, in use or the user executing the code doesn't have access to the .xap file) or the file is not in the specified location. I'd put a breakpoint before zipFile.Save is called and then go into windows explorer to find out if the file is there and if so if it's read only for some reason. If not, try to edit it manually, both with the debugger still on break and after termination. That should give you enough information to figure it out. http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7345 mrjvdveen http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 26 Dec 2011 15:08:51 GMT Re: Building a Web Setup that configures your Silverlight application In my project I have created one function to update .xap file.Error is coming when zipFile.Save() method is called. http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7342 sagarT http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 26 Dec 2011 12:44:49 GMT Re: Building a Web Setup that configures your Silverlight application In my project I have created one function to update .xap file.Error is coming when zipFile.Save() method is called. http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7341 sagarT http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 26 Dec 2011 11:58:37 GMT Re: Building a Web Setup that configures your Silverlight application @sagarT: I'm not sure I understand what you mean. When does this exception occur exactly? Is it when you build or when you run the setup or when you run the application? http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7340 mrjvdveen http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 26 Dec 2011 11:43:07 GMT Re: Building a Web Setup that configures your Silverlight application <p>     I have created demo project but it will throw Access to the path 'C:\Demo\New Folder\ClientBin\SilverlightApplication.xap' is denied. error. </p> <p>     What is the solution for above problem? </p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7339 sagarT http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 26 Dec 2011 11:33:14 GMT Re: Building a Web Setup that configures your Silverlight application <p>@<span style="font-family: 'segoe ui', helvetica, arial, verdana, tahoma, sans-serif; font-size: 12px; line-height: 20px; background-color: #f7f7f7;">Jonathan:</span></p> <p><span style="font-family: 'segoe ui', helvetica, arial, verdana, tahoma, sans-serif; font-size: 12px; line-height: 20px; background-color: #f7f7f7;">Thank You</span></p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7230 SwathiReddy http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Thu, 17 Nov 2011 12:42:47 GMT Re: Building a Web Setup that configures your Silverlight application <p>@Swathi: I've downloaded the project myself and after building the entire solution and the setup project I ran into this error. It is caused by a faulty dependency setting for the .NET framework dependency in the setup project.</p> <p>To correct it: </p> <ol> <li>Open the solution explorer and find the setup project (SilverlightInstallerSetup). </li> <li>Open the Detected Dependencies folder and double click on Microsoft .NET Framework. This will open the Launch Conditions window. </li> <li>Find the .NET Framework dependencies in that window, right click it and click Properties Window. </li> <li>In the Properties Window change the Version property to .NET Framework 4.</li> <li>Rebuild the setup project and try again. </li> </ol> <p>It should now try to launch a debugger while installing. This is normal behavior. Simply choose to attach it to the VS you already have open and if you don't want to debug, just hit F5 to continue.</p> <p>HTH.</p> <p>Jonathan</p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7226 mrjvdveen http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Thu, 17 Nov 2011 09:35:39 GMT Re: Building a Web Setup that configures your Silverlight application <p><br /> </p> <p>Thanks For the post.</p> <p>You have given an option of downloading the full project. I have downloaded and when i am installing the setup file, an error is coming while installing..........</p> <p>Exception Details:</p> <p>error 1001: exception occurred System.BadImageFormatException: Could not load file or assembly  'File"http://c:\inetpub\........\silverlightInstallerTest.setup.dll or one of its dependencies.</p> <p>I am new this silverlight..........Pls help me..........</p> <p><br /> </p> <p><br /> </p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment7224 SwathiReddy http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Thu, 17 Nov 2011 08:07:55 GMT RE: Building a Web Setup that configures your Silverlight application Very good post. Thanks http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment4587 A from London http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Wed, 29 Sep 2010 12:11:42 GMT RE: Building a Web Setup that configures your Silverlight application <p>@aad: This is usually caused by an exception that was thrown during the execution of the CustomAction. Attach a debugger, so you can find out where things go wrong. You can do so by following my tip in the start of step 2.1.</p> <p>HTH.</p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment4022 mrjvdveen http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Wed, 21 Jul 2010 09:34:12 GMT RE: Building a Web Setup that configures your Silverlight application <p>Hello,</p> <p>I have created sample silverlight app with wcf service. I have done all the things as above. But I am facing prob of "Installer was interripted before Application could be installed. You need to restart the installer to try again."</p> <p>Please Reply.</p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment4015 aad http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Tue, 20 Jul 2010 15:20:58 GMT RE: Building a Web Setup that configures your Silverlight application @Anonymous: I've tested it here and it works fine. Could you try again and tell me what is going wrong? Are you getting an error of some kind? http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment3792 mrjvdveen http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 14 Jun 2010 09:07:28 GMT RE: Building a Web Setup that configures your Silverlight application The source code download link is incorrect. I am unable to download the project. Please post the correct download link. http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment3783 Anonymous http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Sat, 12 Jun 2010 10:22:53 GMT RE: Building a Web Setup that configures your Silverlight application Thanks for posting. We will try this when we get to the installation part of our projects. http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment3659 Raise http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Sat, 22 May 2010 16:26:44 GMT RE: Building a Web Setup that configures your Silverlight application <p>Hi, Sickandar,</p> <p>Sorry about that. I've uploaded a new version with the zip library in place in the debug folder, so you can run directly.</p> <p>I would like to encourage you to download the library from codeplex as well as this includes the licensing and documentation.</p> <p>Thanks for the heads up,</p> <p>Jonathan van de Veen</p> http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment3566 mrjvdveen http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Mon, 10 May 2010 09:52:30 GMT RE: Building a Web Setup that configures your Silverlight application WHEN I DOWNLOADED AND TRY TO RUN,IT SEEMS THE ICONIC.ZIP IS MISSING http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx#comment3561 SICKANDAR http://www.silverlightshow.net/items/Building-a-Web-Setup-that-configures-your-Silverlight-application.aspx Sun, 09 May 2010 00:54:41 GMT