Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application in vb.net 2010

I want to create a setup file using visual studio installer.

I followed the following way to accomplish this

file - add - new project - other project type - setup and deployment - visual studio installer - setup wizard - ok - next - next - selecting primary output - next - Add - (add your .sdf file in project folder - next - finish

it is creating setup file when i execute . it is not able to connect to database.

How to solve this please ?

What I have tried:

I followed the following way to accomplish this

file - add - new project - other project type - setup and deployment - visual studio installer - setup wizard - ok - next - next - selecting primary output - next - Add - (add your .sdf file in project folder - next - finish
Posted
Updated 18-May-20 2:57am

1 solution

Forget about the Visual Studio installer and use:
GitHub - domgho/InnoDependencyInstaller: Modular Inno Setup Dependency Installer[^]

It has support for all kinds of pre-requisites, see:
Supported products list · domgho/InnoDependencyInstaller Wiki · GitHub[^]

And best of all, it's free :)

Also see: installers-for-windows-programs[^]
 
Share this answer
 
v2
Comments
CodeMine 18-May-20 9:52am    
my application is developed using language vb not c#. is it possible to do setup file if i use above solution?
RickZeeland 18-May-20 10:01am    
Yes, Inno Setup just works with files. The script language of Inno Setup however is Pascal which can take some time to get used to, but for simple setups the wizard is all you need.
CodeMine 18-May-20 10:48am    
thank u very much

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900