An update on this problem:
Latest attempt to install failed with the same message "The application has failed to start because MSVCR70.DLL was not found. Re-installing the application may fix this problem."
Searching for information, I looked at http://fox.wikis.com/wc.dll?Wiki~InnoScripts which says the following:
------------------------------------
As noted in the VFP9 Runtime Files topic, placing MSVCR71.DLL is the app's directory is correct for running the app, but the registration of VFP9R.DLL requires MSVCR71.DLL to be present somewhere Windows can find it during installation. Two acceptable places are the Windows system folder or the common files folder where VFP9R.DLL is located. You can configure Inno Setup to remove the temporary copy of MSVCR71.DLL when installation finishes by using the deleteafterinstall flag. According to the Inno Setup Help file, the deleteafterinstall flag will not remove existing files that were not replaced during installation, so if a copy of MSVCR71.DLL is already present for use by some other app, it should remain there after installation.
To place a temporary copy of MSVCR71.DLL in the system folder, use this entry:
Source: C:\VFP9Distrib\System32\msvcr71.dll; DestDir: {sys}; Flags: onlyifdoesntexist deleteafterinstall
To place a temporary copy of MSVCR71.DLL in the common files folder, use this entry:
Source: C:\VFP9Distrib\System32\msvcr71.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: onlyifdoesntexist deleteafterinstall
Regardless of which temporary location you choose, you should still install a permanent copy of MSVCR71.DLL to the {app} directory. - Rick Borup
-------------------------------
I've made this change, targetting the {CF} folder in the way described (delete the {CF} copy after install, leaving a copy in product's folder), but doesn't installing into {CF} require ADMIN? If so, how can the install be setup to avoid requiring ADMIN rights?
Bill
©2005 Bill Arnold |