|
-
Jul 28th, 2007, 01:44 PM
#1
Thread Starter
Hyperactive Member
[2005] how to make a setup?
I know there is a way to publish my project in vb 2005, but I dun like because there are many setup files. But another program just have one setup.exe to install, so how do they make just one setup.exe?
-
Jul 28th, 2007, 02:11 PM
#2
Re: [2005] how to make a setup?
Look inot INNO Setup. There is a little bit of a learning curve with using it, but I have found that I like it the best. There is also something called IStool that is a nice gui for creating setup projects. There are links to both in my sig.
-
Jul 28th, 2007, 02:20 PM
#3
Thread Starter
Hyperactive Member
Re: [2005] how to make a setup?
 Originally Posted by bmahler
Look inot INNO Setup. There is a little bit of a learning curve with using it, but I have found that I like it the best. There is also something called IStool that is a nice gui for creating setup projects. There are links to both in my sig.
I download and tried INNO, but it seems that can not use for vb. just iss file.
IStool is toolbox...so I dun think both can make a setup.exe file
Code:
[Setup]
AppName=My Program
AppVerName=My Program version 1.5
DefaultDirName={pf}\My Program
DefaultGroupName=My Program
UninstallDisplayIcon={app}\MyProg.exe
Compression=lzma
SolidCompression=yes
OutputDir=userdocs:Inno Setup Examples Output
[Files]
Source: "MyProg.exe"; DestDir: "{app}"
Source: "MyProg.chm"; DestDir: "{app}"
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
[Icons]
Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
-
Jul 28th, 2007, 03:16 PM
#4
Hyperactive Member
Re: [2005] how to make a setup?
Nullsoft Install System is what I like to use when im not using vb.net's built in setup.
-
Jul 28th, 2007, 05:06 PM
#5
Re: [2005] how to make a setup?
If you are running Express thn you have ClickOnce and if you are running Standard, Pro, or Team Suite there is a Setup project for creating a more advanced pack.
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 
-
Jul 28th, 2007, 06:26 PM
#6
Re: [2005] how to make a setup?
 Originally Posted by newpat
I download and tried INNO, but it seems that can not use for vb. just iss file.
IStool is toolbox...so I dun think both can make a setup.exe file
ISS is an Inno setup script. It compiles into a setup exe. You can most certainly use it for VB, however it will not integrate with Visual Studio. You would first need to compile any executables and libraries for your app and then use inno to build them all into an installer.
ISTool is a tool to help you build your Inno setup script. You tell it what files you want installed and where, as well as other information about your application and when you compile it, it will create a Setup.exe or whatever you name your setup project. I can assure you that these work as they are what I use to deploy all my .net applications.
-
Jul 28th, 2007, 08:47 PM
#7
Re: [2005] how to make a setup?
Why is it a problem to have more than one file? Is everyone not used to downloading a ZIP file and extracting it? WinZip even has a utility to create self-extracting ZIP files.
-
Jul 28th, 2007, 10:29 PM
#8
Hyperactive Member
Re: [2005] how to make a setup?
whats wrong with just creating a new form like a wizard and adding all your programs files as resources. that way you can have allot more control with it and allot more user interaction, there are plenty of articles around that show how to create file associations, startup, desktop and menu shortcuts etc...
I would personally use this method, but I dont know how to delete the uninstaller app once it removes all the files and restores registry settings etc.
Any tips on getting an executable to delete itself?
-
Jul 29th, 2007, 01:20 AM
#9
Re: [2005] how to make a setup?
With too much control with installers you will also have too many bugs and problems. Why re-invent the wheel? The Setup project allows you to run custom actions, desktop shortcuts, etc. So what more could you want? An un-install feature? Sure, setup projects when installed will have that available too.
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 
-
Jul 29th, 2007, 04:23 AM
#10
Addicted Member
Re: [2005] how to make a setup?
 Originally Posted by newpat
I know there is a way to publish my project in vb 2005, but I dun like because there are many setup files. But another program just have one setup.exe to install, so how do they make just one setup.exe?
I use vb2005> File> New Project> Setup project
to create a setup file. It packs the whole project in 2 files, and it's perfect. (Only available in VB.net standard edition or higher).
but if you want your whole project to be packed in a single setup file, the most professional tool is "InstallShield" (but it's not free).
-
Jul 29th, 2007, 06:58 AM
#11
Re: [2005] how to make a setup?
Well for me personally I found that installing anything that used crystal reports did not seem to work properly with the VS setup project. I am sure that it works with the proper tweaking, but in the end I just chose to use inno and I am very happy with it.
-
Jul 29th, 2007, 10:53 AM
#12
Thread Starter
Hyperactive Member
Re: [2005] how to make a setup?
but I dun know how to modify the example that INNO provide. Do they have any instructions or teach for us?
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
|