Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The search for installing success
Message
De
06/12/2012 08:53:09
 
 
À
05/12/2012 18:21:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01558815
Message ID:
01558927
Vues:
52
>Hi Grady.
>
>>I am trying to create a setup for a standalone app with INNO
>>
>>I've done this successfully in the past, but this time they fail on installation. The error message is about being unable to find the access point in msvcr71.
>>I am using Windows 7 (86) so there are two Program files/common/Microsoft shared paths. I am trying to install to an XP machine.
>
>Please post your script here so we can check it out.
>
>Doug

Hi Doug. Thanks for the response. Below is my latest attempt to make it work (A dump into the app's folder)
I began with the script posted on FoxWiki
---------------------------------------------------------------------------------
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "ULTRA2020"
#define MyAppVersion "2.0.7"
#define MyAppPublisher "UrbanSurvival"
#define MyAppURL "http://www.urbansurvival.com/"
#define MyAppExeName "MyProg.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{9440DCBA-3886-4C38-B510-4907B70BBC46}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DisableDirPage=yes
DefaultGroupName={#MyAppName}
DisableProgramGroupPage=yes
OutputDir=C:\My Projects
OutputBaseFilename=setupULTRA
SetupIconFile=C:\ULTRA2020\Cube.ico
Compression=lzma
SolidCompression=yes

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

[Files]
Source: "C:\Program Files (x86)\Inno Setup 5\Examples\MyProg.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\countries.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\dictionary.DBF"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\fnames.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\indicators.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\keywords.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\lnames.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.DBF"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.FPT"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.TBK"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\menu1.FPT"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\metaphors.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\moneydictionary.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\seedbkp.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\seedurls.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\u2020.FPT"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\urlbkp.dbf"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\URLs.DBF"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\urls.TBK"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.CDX"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.DBF"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.FPT"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\ULTRA2020\master.TBK"; DestDir: "{app}"; Flags: ignoreversion

;**********************************************************************
;
; VFP9 runtime support libraries and related files
;
;**********************************************************************
; Microsoft Graphics Device Interface Plus (GDI+) DLL
Source: C:\Program Files\Common Files\Microsoft Shared\VFP\gdiplus.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace

; Microsoft Visual C++ 7.1 Runtime DLL
; If one does not already exist, write a copy of MSVCR71.DLL in the system directory
; so register VFP9R.DLL will succeed. Use the deleteafterinstall to remove this file
; after installation is complete. The deleteafterinstall flag will not remove existing
; files that were not replaced during installation.
Source: C:\VFPdlls\msvcr71.dll; DestDir: {sys}; Flags: onlyifdoesntexist deleteafterinstall
; If a copy of msvcr71.dll is needed temporarily in {cf}\Microsoft Shared\VFP, uncomment this line.
;Source: C:\VFP9Distrib\System32\msvcr71.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: onlyifdoesntexist deleteafterinstall
; Write the application's copy of MSVCR71.DLL to the app directory.
Source: C:\VFPdlls\msvcr71.dll; DestDir: {app}; Flags: onlyifdoesntexist

; Microsoft Visual FoxPro 9.0 Runtime Support Libraries
Source: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9r.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: regserver sharedfile uninsneveruninstall restartreplace
Source: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9t.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace
Source: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9renu.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace

; Microsoft HTML Help Runtime Files for Visual FoxPro 9.0
Source: C:\Program Files\Common Files\Microsoft Shared\VFP\foxhhelp9.exe; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace
Source: C:\Program Files\Common Files\Microsoft Shared\VFP\foxhhelpps9.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: regserver sharedfile restartreplace uninsneveruninstall


; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform