VB/Access/INNO setup not working/Danial?/Frigginjerk?
Hello, forum-ers
I have a project developed in VB 6 which reads and writes to an Access database. In other words, the Visual Basic is the front end to the Access database. It works fine on my computer (which is Windows XP Home and has Office Professional 2002). What I want to do is create a setup to install it on other computers. I am using a test computer which has Windows 98 but no Office Professional. My setup is an INNO script.
The result of my setup on the other computer is that the program reads the data, but it will not write data. Maybe it is a security problem. The owner of the Access database is Admin. This is on the first computer. On the second computer there is no Access (intentionally), so no Access settings can be changed on that computer. Any settings would have to be made on the first computer before installing. I don't know how to set it so no one owns it or if this is possible.
Also, the 2nd computer won't allow me to delete the Access database. (Again, security?) I can delete all the other files.
So, I'm not sure if it's security or what. Can anybody confirm or deny that it's security or have any other suggestions to help me get my VB program to write data instead of just read it on the 2nd computer? I have never installed a VB-plus-Access program, so it could be something obvious.
Thanks.
Robert
This is my INNO script:
[Setup]
AppName=Distribution Management
AppVerName=Distribution Management
DefaultDirName={pf}\Distribution Management
DefaultGroupName=Distribution Management
UninstallDisplayIcon={app}\Distribution_Management.exe
Compression=lzma
SolidCompression=yes
[Files]
Source: Distribution_Management.exe; DestDir: {app}
Source: adenamsm.bmp; DestDir: {app}
Source: custs.frm; DestDir: {app}
Source: custs.frx; DestDir: {app}
Source: DataEnvironment1.DCA; DestDir: {app}
Source: DataEnvironment1.Dsr; DestDir: {app}
Source: DataEnvironment1.dsx; DestDir: {app}
Source: DataProject.vbw; DestDir: {app}
Source: DataReport1.DCA; DestDir: {app}
Source: Distribution_Management.PDM; DestDir: {app}
Source: Distribution_Management.TXT; DestDir: {app}
Source: Distribution_Management.vbp; DestDir: {app}
Source: Distribution_Management.vbw; DestDir: {app}
Source: dlgFindFunction.frm; DestDir: {app}
Source: DM1.frm; DestDir: {app}
Source: DM1.frx; DestDir: {app}
Source: Form3.frm; DestDir: {app}
Source: Form5.RtListBK.frm; DestDir: {app}
Source: Form5.RtListBK.frx; DestDir: {app}
Source: frmCustList.frm; DestDir: {app}
Source: frmCustList.frx; DestDir: {app}
Source: frmCustMenu.frm; DestDir: {app}
Source: frmCustomers.frm; DestDir: {app}
Source: frmCustomers.frx; DestDir: {app}
Source: frmDM1.frm; DestDir: {app}
Source: frmDM1.frx; DestDir: {app}
Source: frmMain.frm; DestDir: {app}
Source: frmReportsMenu.frm; DestDir: {app}
Source: frmReportsMenu.frx; DestDir: {app}
Source: frmRouteList.frm; DestDir: {app}
Source: frmRouteList.frx; DestDir: {app}
Source: frmRtList.frm; DestDir: {app}
Source: frmRtList.frx; DestDir: {app}
Source: frmSplash.frm; DestDir: {app}
Source: frmSplash.frx; DestDir: {app}
Source: frmSplasscr.frm; DestDir: {app}
Source: frmSplasscr.frx; DestDir: {app}
Source: Module1.bas; DestDir: {app}
Source: Project1.vbw; DestDir: {app}
Source: Route_management.mdb; DestDir: {app}
[Icons]
Name: {group}\Distribution Management; Filename: {app}\Distribution_Management.exe
Name: {group}\Uninstall Distribution Management; Filename: {uninstallexe}