|
-
Nov 2nd, 2006, 07:11 AM
#1
Thread Starter
Junior Member
Copying a vb.net app from one machine to another
I'm upgrading from VB6 to VB.net and am using the express edition. The only problem I have with it is its rather limited deployment tools.
For my VB6 projects I use NSIS (Nullsoft Scriptable Instal System) - http://nsis.sourceforge.net/Main_Page
This is great as it allows me create a professional branded installer with a licence agreement, install my app with shortcuts, and install some default files which are not overwritten when user installs again (upgrades).
NSIS can check to make sure the .net framework is installed and download it as necessary so I have that covered.
My question is - can I build my VB.net project, and then just copy the created app from the build folder and its manifest into my NSIS script in place of my vb6 exe.
An even simpler question - can I just take the built app and copy only that 1 file and run it on any machine with the .net 2.0 framework installed. Will I get any messages the first time I try to run it about it being an unknown publisher etc.
Sorry I have to ask - my test machine burned out last week and I'm waiting for a new disk.
-
Nov 12th, 2006, 06:08 PM
#2
Re: Copying a vb.net app from one machine to another
Its not a good idea to place th exe in the NSIS app unless its a version compatible with .NET. You may be able to just copy the exe over is the system already has the framework and correct version but you will probably end up with isues as a simple copy of the exe may still miss any custom controls or other references/dependancies.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
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
|