ClickOnce Deployment questions

M

Mika M

Hi!

I made ClickOnce deployment for Windows Forms VB 2005 application, and
it's working mostly fine. Now I have some question:

1. Is it okay when my application goes into x:\Documents and
Settings\...-directory in target computer, or is there something wrong
with my ClickOnce deployment? I assumed application(s) goes into
x:\Program Files\... -directory.

2. Is it possible to change ClickOnce deployed applications "Add or
Remove Programs"-default icon? I'd like to use my applications own icon
there in Control Panel.

3. My application uses some quite simple Crystal Reports, and "Crystal
Reports for .NET Framework 2.0"-prerequisite is going fine into target
computer. Anyway my Reports Files (*.rpt) are not going into target
computer, and reports cannot be used (causes missing report file or
something like that error when trying to open report). How can I add
these my application's Reports Files (*.rpt) into ClickOnce deployment?
 
C

Carlos J. Quintero [VB MVP]

Mika M said:
1. Is it okay when my application goes into x:\Documents and
Settings\...-directory in target computer, or is there something wrong
with my ClickOnce deployment? I assumed application(s) goes into
x:\Program Files\... -directory.

Hi Mika,

About this one, ClickOnce installs to a cache local to the user, while MSI
installations install to Program Files, which affects all users and may
require admin rights.

See the comparison table at the botton of this page:

ClickOnce Deployment Overview
http://msdn2.microsoft.com/en-us/library/142dbbz4(en-US,VS.80).aspx


--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
 
H

hashimisayed

Hi,

You mentioned that your reports are not being deployed with the
application. Is this happening to all clients? How are you including
the report files in your application? You need to mark your reports as
"Data" files and then they will be deployed to the ClickOnce Data
Directory. Have a look at the following:

http://msdn2.microsoft.com/en-us/library/d8saf4wy.aspx

Please provide additional details and I will be happy to assist
further.

Thanks,


Sayed Y. Hashimi


http://www.sayedhashimi.com
Shameless Book Plug: Service-Oriented Smart Clients with .NET 2.0
http://www.amazon.com/exec/obidos/tg/detail/-/1590595513/qid=11263614...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top