Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding Msm's
Message
From
30/09/2002 19:23:17
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00637359
Message ID:
00706169
Views:
22
Hi Bhavbhuti:
As you may have seen in the thread handling msm is not possible. You need to identify the ocx's you need and include them specifically. Here is the script I ended up with, and it appears to work for me, but it only includes the calendar control. Others here may be able to help you with other activex's that you need.
Notice this line specifically:

Source: "C:\WINDOWS\SYSTEM\MSCOMCT2.OCX" ; DestDir: "{sys}"; CopyMode: normal ; Flags: "Regserver"

HTH
Mike


; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=vTransact - Work Station
AppVerName=vTransact beta .1
AppPublisher=Bosler-Cline
AppPublisherURL=http://www.mycompany.com
AppSupportURL=http://www.mycompany.com
AppUpdatesURL=http://www.mycompany.com
DefaultDirName={pf}\\boslercline\vTransact
DefaultGroupName=vTransact
OutputDir=p:\codemine\vtransact\deployment
OutputBaseFilename=vTransactWorkStation
; uncomment the following line if you want your installation to run on NT 3.51 too.
; MinVersion=4,3.51

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"; MinVersion: 4,4

[Files]
Source: "F:\Codemine\Vtransact\Deployment\Workstation\vtransact.exe"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "F:\Codemine\Vtransact\Deployment\Workstation\AppReg02.DBF"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "F:\Codemine\Vtransact\Deployment\Workstation\AppReg02.FPT"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "F:\Codemine\Vtransact\Deployment\Workstation\codemine.fll"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "F:\Codemine\Vtransact\Deployment\Workstation\Launcher.cfg"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "F:\Codemine\Vtransact\Deployment\Workstation\launcher.exe"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "F:\Codemine\Vtransact\Deployment\Workstation\AppReg02.CDX"; DestDir: "{app}"; CopyMode: alwaysoverwrite
Source: "C:\Program Files\Common Files\Microsoft Shared\VFP\vfp7r.dll"; DestDir: "{sys}"; CopyMode: normal
Source: "C:\Program Files\Common Files\Microsoft Shared\VFP\Vfp7renu.dll"; DestDir: "{sys}"; CopyMode: normal
Source: "C:\Program Files\Microsoft Visual FoxPro 7\Visual FoxPro 7.0 Professional - English\MSVCR70.DLL"; DestDir: "{sys}"; CopyMode: normal
Source: "C:\WINDOWS\SYSTEM\MSCOMCT2.OCX" ; DestDir: "{sys}"; CopyMode: normal ; Flags: "Regserver"
[Icons]
Name: "{group}\vTransact" ; Filename: "{app}\launcher.exe"; WorkingDir: "{app}"
Name: "{userdesktop}\vTransact"; Filename: "{app}\launcher.exe"; WorkingDir: "{app}"

[Run]
Filename: "{app}\vtransact.exe"; Description: "Launch vTransact - Work Station Install"; Flags: nowait postinstall skipifsilent

[UninstallRun]
Filename: "{app}\vtransact.exe" ; Parameters: "Uninstall"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform