Click here to Skip to main content
16,020,974 members
Please Sign up or sign in to vote.
1.33/5 (3 votes)
See more:
C#
I am working with visual studio 2010 desktop application,access database as back-end.For my application I used InstallShield to create the exe file and it given me the exe file.When I am installed this exe file in other system it get installed but when I am trying to do any task which is related to my access database it's giving exception that your connection path ":c/path" is does not found. In exception the path which they showing that is right path which I given in the forms coding.But I want setup which will modify the path automatically and this setup has to be able to use in any system.Is this possible with the InstallShield or any other software will work for me? Please help?Thanks in Advanced!


What I have tried:

I created the installshield setup file and tried has I mention above it does not working has my expectation any one any idea of which software I use to create a setup which acceptable by all systems(connection work perfectly in all system).
Posted
Updated 10-Mar-16 13:05pm
v2
Comments
[no name] 10-Mar-16 12:30pm    
Please do not post exactly the same text in both sections, tell us what you have tried.

I can recommend Inno Setup, it does take some study, but it's free (even for commercial use) and can tackle difficult setups. Till now I haven't encountered a situation which couldn't be solved using Inno Setup.

Homepage:
Inno Setup[^]

Example for Access:
https://accessexperts.com/blog/2014/09/16/inno-setup-create-professional-installation-ms-access-solutions/[^]

See my tip for an example with SQL Server:
Inno Setup Script to Install SQL Server 2008 R2 with Tools[^]
 
Share this answer
 
Another installer that might be more interesting to you is SSE Setup:
SSE Setup - Introduction[^]

It promises "Easy Access database deployment".
I tried this several years ago (not with Access), and found it to be very user friendly.
But for my needs and the complicated nature of the software I write it was too limited, as the author states "NOT some complicated scripting language!", and this is exactly the weak point compared to Inno Setup which has a Pascal scripting language.
 
Share this answer
 
Comments
santosh chatela 10-Mar-16 22:25pm    
Thanks for your response @RickZeeland I am going to try your suggestions I hope it will work for me.

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