Announcement

Collapse
No announcement yet.

Gacutil.exe

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Gacutil.exe

    Hi All,

    I am trying to run this code but it does not work during setup. I need to repeat this step manually to see something in the GAC.

    How can I run this as Administrator? When I do it manually I need an Admin command prompt.

    Code:
    File.Run(SessionVar.Expand("%ApplicationDataFolderCommon%\\%CompanyName%\\%AppShortcutFolderName%\\gacutil.exe"), 
    SessionVar.Expand("-i %AppFolder%\\Bin\\Geometry.dll"), 
    SessionVar.Expand("%ApplicationDataFolderCommon%\\%CompanyName%\\%AppShortcutFolderName%"));
    Thanks,

    Alberto

  • #2
    I see there is another way to add an assembly to GAC, would this method be easier using SF9?

    http://weblogs.asp.net/adweigert/arc...owershell.aspx

    Comment


    • #3
      Maybe I need to make a MSI setup and run it from SF9?

      Comment

      Working...
      X