The Install has to run with elevated privledge. If you use Inno, InstallShield, etc, it should ask for elevation when you run the install.
>Hi all,
>
>I need to run my app in XP and Win 7, but I can't register my VFP COM EXEs in Win 7.
>Build exe fails with something along the lines of "Can't update the registry..."
>MyCOMObj.exe /regserver returns nothing, just like in XP, but doesn't register the COM object.
>
>I can run a bat file as admin, but I want to do the registration in code as part of an install/update app like I'm doing in XP.
>
>Anyone do this in VFP/Win 7?
>
>Thanks,
>Gary
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer