VS2005Express: Deployment in a windows domain

D

Dirk_Drexlin

Hi,

I am new to VS and I have written a windows application that works fine
on my development computer.
I would like to install this application on a few computers in our
windows domain so that the users don't have to install anything.

I have tried ClickOnce, but it appears to me, that a when I install
something with ClickOnce than it is only for the current user and not
for other users.

Is it possible to use ClickOnce to make one installation of an
application for many users?
What other options do I have? (I have read something about xcopy
deployment...)

Thanks for any help

Dirk
 
R

RobinS

See below...
Dirk_Drexlin said:
Hi,

I am new to VS and I have written a windows application that works fine
on my development computer.
I would like to install this application on a few computers in our
windows domain so that the users don't have to install anything.

I have tried ClickOnce, but it appears to me, that a when I install
something with ClickOnce than it is only for the current user and not
for other users.

Is it possible to use ClickOnce to make one installation of an
application for many users?

No. The point of ClickOnce is that it deploys the application into the
user's profile, where he has full privileges to read and write. It can,
however, be installed by multiple users.
What other options do I have? (I have read something about xcopy
deployment...)

Thanks for any help

Dirk

You can copy the deployment info over to another computer, but you lost the
capability that ClickOnce provides to do incremental updates.

RobinS.
GoldMail, Inc.
 
D

Dirk_Drexlin

Thank you
You can copy the deployment info over to another computer, but you lost
the capability that ClickOnce provides to do incremental updates.

I could live with that.
What do I have to copy? My Project Tree looks like this:
Projectname, then bin, myproject, obj
In both directories: bin and obj I have the subdirectory release.
Do I have to copy one of them? And then create a link to the .exe-File?

Greetings

Dirk
 
R

RobinS

Dirk_Drexlin said:
Thank you


I could live with that.
What do I have to copy? My Project Tree looks like this:
Projectname, then bin, myproject, obj
In both directories: bin and obj I have the subdirectory release.
Do I have to copy one of them? And then create a link to the .exe-File?

Greetings

Dirk

Why don't you try publishing the ClickOnce deployment to a folder, and then
copying the folder and see if that works? You can just specify a file folder
in the "Publishing Folder Location" rather than an http or ftp address.

Otherwise, publish it to somewhere and (assuming you are publishing the
release version) look under \release\app.publish\Application Files\. There
should be a folder with programname_version -- try xcopying that folder.

The first option should work. If it doesn't, post back and I'll muck around
with it.

RobinS.
GoldMail, Inc.
 
D

Dirk_Drexlin

RobinS said:
Why don't you try publishing the ClickOnce deployment to a folder, and
then copying the folder and see if that works? You can just specify a
file folder in the "Publishing Folder Location" rather than an http or
ftp address.

It worked. In the options dialog I had to make sure, that VS doesn't use
the .deploy extension. Then I had two files: one .exe and the other
..manifest. I copied those into a local directory and it worked.
I tried also to use a share but it did not work. I had to use the .NET
Configuration Tool to allow programs over the local intranet. I could
not figure out yet, how i could omit that or how I could allow just this
one application. But for the moment this is fine for me.

Thank You
 

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