473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

EULA Bootsrapper (without anything to actually install)? - C# Express08 ClickOnce

5
Hey guys,

I wanted to write a bootstrapper to display my EULA prior to installing my click once app. However, it does display it but when I press "Agree" it locks up saying it is trying to install the End User License Agreement. I guess this is because I am not actually installing anything? How does one display their EULA using the Setup.exe of the clickonce application? Here is my bootstrapper code:

--------------------------------------------------------------------------------------------
product.xml
--------------------------------------------------------------------------------------------


<?xml version="1.0" encoding="utf-8" ?>

<Product
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
ProductCode="EULA.Bootstrap.Component"
>
<!-- Defines list of files to be copied on build -->
<PackageFiles>
<PackageFile Name="en/eula.txt"/>
</PackageFiles>


<Commands>
<Command PackageFile="en/eula.txt"
Arguments='' >

<ExitCodes>
<DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
</ExitCodes>

</Command>
</Commands>
</Product>

--------------------------------------------------------------------------------------------
package.xml
--------------------------------------------------------------------------------------------


<?xml version="1.0" encoding="utf-8" ?>

<Package
xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
Name="DisplayName"
Culture="Culture"
LicenseAgreement="eula.txt">

<PackageFiles>
<PackageFile Name="eula.txt"/>
</PackageFiles>

<!-- Defines a localizable string table for error messages and url's -->
<Strings>
<String Name="DisplayName">End User License Agreement</String>
<String Name="Culture">en</String>
<String Name="CancelFailure">User Failed to Accept End User License Agreement.</String>
<String Name="GeneralFailure">A fatal error occurred during the installation of ELUA Component Execution</String>
<String Name="AdminRequired">You do not have the permissions required to install this application. Please contact your administrator.</String>
</Strings>

</Package>
Jan 31 '08 #1
3 3628
Shashi Sadasivan
1,435 Expert 1GB
HI,
i went to this link and followed it exactly the same way, and got what you needed.

hope it helps
Feb 1 '08 #2
nelmr
5
HI,
i went to this link and followed it exactly the same way, and got what you needed.

hope it helps
That is where I got the code to make the bootstrapper. When I run my clickonce program using that code I do get the EULA displayed at the beginning. However, if I click "I Accept" it just stays at the "Installing ... End User License Agreement" screen and doesn't do anything (after 10 minutes I gave up). Any ideas why?
Feb 1 '08 #3
valure
1
I am dealing with the same issue. Did you find a solution?
Apr 12 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Thomas Holmgren | last post by:
Hello all! I've tried to get my hands on the EULA for Visual C# .NET 2003 Standard Edition, sofar without luck. Does anybody know where I can find the End User License Agreement for this...
1
by: Thomas Holmgren | last post by:
Hi all I've tried to get my hands on the End User License Agreement for MS Visual C# .NET 2003 STANDARD edition, sofar without luck. Does anybody know where I can find the license agreement...
7
by: Just_a_fan | last post by:
I have a program which runs fine here (created in VB9). I publish it to my web site for download & install. It runs on some computers (one or two) but not others. When it does not run, it causes...
3
by: =?Utf-8?B?Um9nZXIgVHJhbmNoZXo=?= | last post by:
Hello, I would like to know the best way to install an clickonce in .net 3.5 (we use LINQ 8-D) published application on terminal server 2003 Do I have to install it on EVERY user that will use...
4
by: =?Utf-8?B?Q2hyaXN0aWFuIEhhdmVs?= | last post by:
Hi, I have a .NET / COM DLL. On the client the COM object is created by a application using VBScript (Windows Scripting). I try to deploy the .NET / COM DLL using ClickOnce deployment. I know...
2
by: Superfreak3 | last post by:
Hello there, I hope there is a ClickOnce wiz in the house! The more I read the more confused I get. We have a server app that will have workstations/clients hitting it. On these Clients we...
2
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi misters, I try use ClickOnce to install my Winforms Application, and I get several errors. One error: I think ClickOnce and Circle References not work fine Anothers errors: I Publish my...
2
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi misters, I have installed my windows application that uses XpdfViewer (a COM Component for view Pdfs) using ClickOnce. But I get this error:
3
by: =?Utf-8?B?S2VuIExlbWlldXg=?= | last post by:
My clickonce app fails when the install button on the publish.htm page is clicked. User is prompted with a "Cannot Start Application" dialog. Details provided from the dialog are: PLATFORM...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.