English 中文(简体)
Empty setup project in Visual Studio 2008
原标题:

I have a ClickOnce installation I want to distribute. Some system administrators prefer a MSI installation package which, when run, installs the ClickOnce application.

I ve created a Visual Studio 2008 Setup project which references a single assembly where I ve implemented a custom action. The custom action can install the ClickOnce application, and that works fine.

My problem is that after the installation has completed, the customer now has a folder named C:Program FilesCompanySetupName which contains the custom action assembly.

I would like that after the installation, no files are left behind on the users system under C:Program Files. Is there a way to accomplish this?

It s possible to get rid of the question asking the user where he wants to install the software, simply by removing that step in the wizard from the "User interfaces" list, but the software will still be installed into the directory.

问题回答

MSI installer and Clickonce application are not compatible... lock at this.. http://www.codeproject.com/KB/install/DDayUpdate_Part1.aspx





相关问题
Correct place to install demostration projects?

With the new Windows 7 restrictions (well, new to Windows Vista anyways), we can no longer install demo projects to %ProgramFilesFolder%OurApplicationdemo since restricted users will not be able to ...

.deb package conffiles problem

I am distributing one of my applications using a .deb package, but have a problem relating to one of the files. The distribution includes a database file which is constantly updated by the app, on a ...

Closing an application using WiX

In creating my WiX installer I have run into an issue when trying to close an application before installing the upgrade. Below is an example of how I am attempting to do this. <util:...

VS 2005 Setup - HKCU

I am trying to fix an existing application that uses a Visual Studio 2005 setup project. We are requiring it to work on limited user accounts for XP, our app is written in C# for .Net 2.0. It writes ...

Do I want Publish or Release Build in VB.net?

I wrote a little (like 40 lines little) Winforms application with VB.net in Visual Studio 2010. Now I ve released the code as a Google Code project. It s easy for a developer to get the source but I d ...

configsource and installer

I have an project csproj, with app.config file, and logging Ent.Library section using configsource attribute. The logging section is in ahother file Configloggingconfiguration.config. I have a ...

热门标签