Click here to Skip to main content
14,545,256 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 1

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[^]
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100