Click here to Skip to main content
15,884,237 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, i have developed a c# windows form application and i have a problem deploing the solution in other computers.
PS: I must run deploy the solution in other computer that doesn't have SQLSERVER installed. (It worked with other solution)

What I have tried:

When i try to open the .exe from other copmuter i get this error :

cannot install or run application.This application requires microsoft.sql server.exec proc task assembly
Posted
Updated 19-Jan-21 5:35am

1 solution

Take a look at: GitHub - DomGries/InnoDependencyInstaller[^]
It uses the free Inno Setup installer to install all kinds of prerequisites without including them in your setup, instead they are only downloaded if needed.

And here are some other options: installers-for-windows-programs[^]
 
Share this answer
 
Comments
houssem eddine ayari 20-Jan-21 4:26am    
@RickZeeland this is very helpfull but i got an error with code5. You got any idea about this error code
RickZeeland 20-Jan-21 7:08am    
Do you see "Access denied" ? then try running as administrator.
houssem eddine ayari 21-Jan-21 4:09am    
@RickZeeland no there's no message like "Access denied". Just error Code5.

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