cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy the application when we use .Net non-visual assemblies in PowerBuilder ?

Former Member
0 Kudos

Hi,

To use .Net non-visual assemblies in PowerBuilder Classic Win32 targets using COM Callable Wrappers (CCWs), Need to set up before using:

1. Add to GAC,  run gacultil.exe in Visual Studio command prompt ;

2. Register,  run regasm.exe in window command prompt;

I want to deploy .net assemblies to the end users' pc (win7 or xp, with .net framework 2.0, 3.0, 3.5, ...).

How to run gacultil in window command prompt ?

Have any suggestion ?

Thanks !

Jack

Accepted Solutions (1)

Accepted Solutions (1)

arnd_schmidt
Active Contributor
0 Kudos

Answers (1)

Answers (1)

former_member190719
Active Contributor
0 Kudos

What you might want to consider is deploying the .Net non visual assemblies as private assemblies.  You would need to create a manifest for your application that includes the COM entries that would normally go in the registry and that references the private assemblies.  A tool such as Side-by-Side Manifest Maker is invaluable for getting them set up correctly.

If you do it that way, it's a bit of a hassle getting it all set up, but then it's a breeze to deploy because you just copy files.  No messing with the GAC or registry or need for elevated permissions to access them.