c# - Show EULA in ClickOnce -
i want show eula (end-user license agreement) window before installing application clickonce.
i googled lot , chose follow link.
i combined solutions of first reply of discussion , 1 eula.bat. looks great want customize window more.
- i prefer not show button view eula printing.
- i want make eula textbox can't copyed.
- i want alternative solution other eula.bat popup window.
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 copied on build --> <packagefiles> <packagefile name="en/eula.bat"/> <packagefile name="en/eula.rtf"/> </packagefiles> <commands> <command packagefile="en/eula.bat" arguments='' > <exitcodes> <exitcode value="0" result="success"/> <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.rtf"> <packagefiles> <packagefile name="eula.rtf"/> <packagefile name="eula.bat"/> </packagefiles> <!-- defines localizable string table error messages , url's --> <strings> <string name="displayname">end user license agreement</string> <string name="culture">en</string> </strings> </package>
you can follow link , copy them right place such c:\program files (x86)\microsoft sdks\windows\v8.1a\bootstrapper\packages if using vs 2013.
Comments
Post a Comment