ClickOnce Application Security Settings

The difference between the following two Security Settings in ClickOnce Application: a> Selecting “This is a full trust application” b> Selecting “This is a partial trust application” and choosing the all Permissions Basically we would like to know the difference between a & b.  In other words, we would like to know the details on…

0

When you try to create a new setup project/open an existing setup project, Visual Studio 2005/2008 IDE may hang

To work around this problem, run DCOMCNFG.exe and clear the check box for the Provide additional security for reference tracking option on the Default Properties tab. 1. Click Start, point to Programs, point to Administrative tools, and then click Component Services. 2. When the Component Services explorer is open, double-click Component Services, and then click…

0

How to add a .net dll within your application setup (Windows Installer Package) using Visual Studio 2005/2008

There are two methods to do it.    Method 1: Create a registry file for registration of the DLL file using regasm.exe utility (http://msdn.microsoft.com/en-us/library/tzat5yw6(VS.71).aspx) Ex:  %windir%\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe myTest.DLL /regfile:C:\myTest.reg Now you need to import the registry within the Visual Studio Setup Project (Right-click “Registry on Target Machine”, click “Import”, and then browse to the .reg file)…

0

Web Setup (Windows Installer) project created in Visual Studio fails on a Windows 2003 Server

Based on the msi verbose log (http://support.microsoft.com/kb/223300) I found the following root cause:   INFO   : [03/03/2009 16:38:00:434] [ApplyWebFolderProperties                ]: Token is ‘/LM/W3SVC/1392067981/ROOT/’. INFO   : [03/03/2009 16:38:00:434] [ApplyWebFolderProperties                ]: Key path is ‘/LM/W3SVC/1392067981/ROOT/’. INFO   : [03/03/2009 16:38:00:450] [ApplyWebFolderProperties                ]: Opening key ‘/LM/W3SVC/1392067981/ROOT’. ERROR  : [03/03/2009 16:38:01:513] [ApplyWebFolderProperties                ]: FAILED:        -2147024748 ERROR  : [03/03/2009 16:38:01:528] [ApplyWebFolderProperties               …

0

Advertised COM add-in won’t trigger on-demand install if you want to deploy the Add-in with the following conditions (HKEY_USERS + COM Add-in + managed desktop<non admin privileges>

The Shared Add-In uses COM Shim, is obfuscated and is signed with Authenticode signature. I initially thought MSI advertisement would be the way to approach this. But, later investigations revealed that COM Add-Ins won’t be triggered using Advertisement. We need to understand what part of it would require admin privileges while installing the Add-in: 1)…

0

While clicking on “Calculate Permissions” button after including “WebPermission” for a partial trust application, prompts a message box “This application requires full trust to run correctly. Would you like to set this as a full trust application?”

I created a windows application and added a .net web service reference. Under partial trust application if we click on “Calculate Permissions” button after including webpermission, it prompts with a message box "This application requires full trust to run correctly. Would you like to set this as a full trust application?" By default, an application…

0

After successfully publishing a ClickOnce application, when you try to install the application you receive an XML page on the browser window as IE opens the Application Manifest

In this scenario we receive an XML page when we click on the “Install” button for the ClickOnce application. The web server hosting the ClickOnce application must have the .Net Framework 2.0 installed, and IIS should be configured to use it. The .Net Framework 2.0 adds a new tab to the Web Site Properties named…

0

How to change the size of the ClickOnce cache and how roll back occurs in ClickOnce

ClickOnce applications that are hosted online are restricted in the amount of space they can occupy by a quota that constrains the size of the ClickOnce cache. The cache size applies to the entire user’s online applications; a single partially-trusted, online application is limited to occupying half of the quota space. Installed applications are not…

0

This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic

In this scenario you may receive an error “This advertised application will not be installed because it might be unsafe. Contact your administrator to change the installation user interface option of the package to basic” during install/uninstall of a Windows Installer package. First we need to get a list of each product that Windows Installer…

0