[Files] Source: C:\WINDOWS\system32\FTPWizard3.ocx; DestDir: {sys}; Flags: regserverProgrammatically in VFP I have used this code
If ! File("C:\WINDOWS\SYSTEM32\FTPWizard3.ocx") LOCAL lcFile lcFile = ucRootDirectory+'\FTPWizard3.ocx' Copy FILE("&lcFile") To C:\Windows\SYSTEM32\FTPWizard3.ocx ! /N regsvr32 /s FTPWizard3.ocx MESSAGEBOX("Done...",32,"Load and Register Ocx") ELSE MESSAGEBOX("Yes...",32,"Ocx present") EndifWhat would the proper method/syntax be to install on Windows 7?