How to register a package in 64bit machine?

Discussions related to custom development with Select.
Post Reply
kqian
Posts: 68
Joined: Wed Feb 23, 2011 4:01 pm

How to register a package in 64bit machine?

Post by kqian »

I try to register my package in 64bit machine by doing "spregpkg.exe /m:register /rootsuffix:EXP /p:MyPackage.dll", but failed because SoftPro was installed under x86, but spregpkg tries to register to the 64bit part in registry.
How can I register the package in a 64bit machinethen? Thanks.
Hadi Chemaly

Re: How to register a package in 64bit machine?

Post by Hadi Chemaly »

The current version of SoftPro Select is a 32-bit product, which means you need to compile your package targeting the 32-bit platform. In Visual Studio, change your project's platform target to x86.
kqian
Posts: 68
Joined: Wed Feb 23, 2011 4:01 pm

Re: How to register a package in 64bit machine?

Post by kqian »

Yes, the package was built for x86. My question is how to register the package.
Hadi Chemaly

Re: How to register a package in 64bit machine?

Post by Hadi Chemaly »

The spregpkg.exe utility registers the package under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SoftPro\Select\2.X (or 2.XEXP).

Can you be more specific about the error you are seeing when trying to register your package?
kqian
Posts: 68
Joined: Wed Feb 23, 2011 4:01 pm

Re: How to register a package in 64bit machine?

Post by kqian »

Yes. It worked this time. Thanks.
Post Reply