|
-
Jul 25th, 2007, 10:21 PM
#1
Thread Starter
Lively Member
Simple Deploy
I have a pretty simple project. No need for registry. Can I just copy the release folder to another machine instead of going through the whole deployment method with setup etc.
-
Jul 25th, 2007, 10:26 PM
#2
Re: Simple Deploy
Use ClickOnce for a quick "down and dirty" deployment. You can access the publishing wizard through the properties of your project. Look for the Publish tab.
-
Jul 25th, 2007, 10:32 PM
#3
Thread Starter
Lively Member
Re: Simple Deploy
 Originally Posted by circuits2
Use ClickOnce for a quick "down and dirty" deployment. You can access the publishing wizard through the properties of your project. Look for the Publish tab.
Isn't "publishing" for web projects?
-
Jul 25th, 2007, 10:34 PM
#4
Re: Simple Deploy
No, not only. The publishing wizard will give you several options for deployment, including installation from a disk or network drive. You can even modify the application manifest to change the update and installation paths. Very versatile for it's simplicity.
-
Jul 25th, 2007, 11:06 PM
#5
Thread Starter
Lively Member
Re: Simple Deploy
Where are the program files located?
I also have a txt file in the bin directory of my project, the file is both read and written to. Can I add this?
Is the xcopy method more appropriate for me? And rather than use xcopy, cant i just copy the folder?
-
Jul 25th, 2007, 11:15 PM
#6
Re: Simple Deploy
 Originally Posted by jeffnyc
Can I just copy the release folder to another machine instead of going through the whole deployment method with setup etc.
Yes. In most cases for a 'simple' project you can just copy the files in the bin directory and it will run, provided the target system has the appropriate framework installed.
HTH
kevin
Process control doesn't give you good quality, it gives you consistent quality.
Good quality comes from consistently doing the right things.
Vague general questions have vague general answers. A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.
______________________________ Last edited by kebo : Now. Reason: superfluous typo's
-
Jul 25th, 2007, 11:17 PM
#7
Re: Simple Deploy
You can't just copy the files any more. That went away with VB6. The files for your app will be located in the Publish folder that can be found in the project's directory. Also, you can add your text file to the distribution copy. Click around for a while, it's pretty straight forward. The wizard can help with a lot of your questions the first time around.
-
Jul 25th, 2007, 11:26 PM
#8
Re: Simple Deploy
 Originally Posted by circuits2
You can't just copy the files any more. That went away with VB6. The files for your app will be located in the Publish folder that can be found in the project's directory. Also, you can add your text file to the distribution copy. Click around for a while, it's pretty straight forward. The wizard can help with a lot of your questions the first time around.
Yes you can. If your app compiles to a single EXE then you can simply copy that EXE to another machine and run it, assuming that the Framework is already installed. Even if your app depends on DLLs you can simply copy them to the same folder and it will still work.
Publishing a project creates a ClickOnce installer. The advantages of that include the fact that your app appears in the Add/Remove Programs dialogue, plus ClickOnce can manage updates. It also allows you to automate installation of the Framework, SQL Server Express and some other components too. It is by no means required though.
If you use a VS Setup project to create an MSI installer you can do more, including add registry entries, install assemblies in the GAC, register COM components and more. You lose ClickOnce's main feature of update management though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|