Hi Jim, All you need is the regserver clause.
Here's the appropriate line from my Inno script for VFP9r.dll: Source: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9r.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: regserver sharedfile uninsneveruninstall restartreplace Jim Harvey wrote: > This is my first attempt at create a set up file, and I'm using Inno. > > > I need help with the script to run regsvr to register the vfp9r.dll, and two > active controls, mscal.ocx and richtx32.ocx. > > > This is the portion of the script dealing with files: > > [Files] > Source: C:\bboard\bidboard.exe; DestDir: {app}; Flags: ignoreversion > Source: C:\bboard\bidboard.DBF; DestDir: {app}; Flags: ignoreversion > Source: C:\bboard\gdiplus.dll; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\HORSE.ICO; DestDir: {app}; Flags: ignoreversion > Source: C:\bboard\Mscal.ocx; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\MSVCP71.DLL; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\msvcr71.dll; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\richtx32.ocx; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\saletitles.CDX; DestDir: {app}; Flags: ignoreversion > Source: C:\bboard\saletitles.DBF; DestDir: {app}; Flags: ignoreversion > Source: C:\bboard\vfp9r.dll; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\VFP9RENU.DLL; DestDir: C:\windows\system32; Flags: > ignoreversion > Source: C:\bboard\vfp9t.dll; DestDir: C:\windows\system32; Flags: > ignoreversion > > If you right click the file, and select properties there doesn't seem to be > any selection for adding regsvr? > > regsvr32 c:/windows/system32/vfp9r.dll > > > James E Harvey > Hanover Shoe Farms, Inc. > M.I.S./Corresponding Officer > Off: 717-637-8931 > fax: 717-637-6766 > email: jhar...@hanoverpa.com > > > [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/4a83166a.5070...@gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.