Editing the setup project script

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sathyaish

    Editing the setup project script

    I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I
    also created a setup project to install the add-in. It all works well.

    When the user double-clicks on the .msi file to launch the setup,
    there's this choice of having the application installed "Just for me"
    or for "Everyone" using that computer. I noticed that even when the
    user selects "Everyone", the setup script writes the entries for
    registering the Add-in with outlook in the Current User hive of the
    person who installed it. Ideally, it should be doing that in the Local
    Machine hive because it is to apply to every user.

    I've searched the setup project files, but I do not see any property
    that suggests the registry key where the Add-in will be registered. I
    know and I look at the keys manually under
    \Software\Micro soft\Office\Out look\Add-ins.

    My question is, is there a way I can edit, or for a start even view the
    setup script that the project relies on; the script that has in it
    somewhere that if the user selects the "Everyone" option, go to the
    registry and do some stuff inside some keys?

  • Ken Tucker [MVP]

    #2
    Re: Editing the setup project script

    Hi,

    You need orca.exe to edit the setup msi. Open the setup msi to
    change the FolderForm_AllU sers property to ALL. Orca is part of the windows
    installer sdk.

    The official Microsoft Download Center. Featuring the latest software updates and drivers for Windows, Office, Xbox and more. Operating systems include Windows, Mac, Linux, iOS, and Android.


    Ken
    -------------------
    "Sathyaish" <Sathyaish@Yaho o.com> wrote in message
    news:1117044428 .806803.128410@ o13g2000cwo.goo glegroups.com.. .
    I've written an Add-in for MS Outlook and in Visual Studio .NET 2003, I
    also created a setup project to install the add-in. It all works well.

    When the user double-clicks on the .msi file to launch the setup,
    there's this choice of having the application installed "Just for me"
    or for "Everyone" using that computer. I noticed that even when the
    user selects "Everyone", the setup script writes the entries for
    registering the Add-in with outlook in the Current User hive of the
    person who installed it. Ideally, it should be doing that in the Local
    Machine hive because it is to apply to every user.

    I've searched the setup project files, but I do not see any property
    that suggests the registry key where the Add-in will be registered. I
    know and I look at the keys manually under
    \Software\Micro soft\Office\Out look\Add-ins.

    My question is, is there a way I can edit, or for a start even view the
    setup script that the project relies on; the script that has in it
    somewhere that if the user selects the "Everyone" option, go to the
    registry and do some stuff inside some keys?


    Comment

    • Sathyaish

      #3
      Re: Editing the setup project script

      Thanks a bunch, Ken. Even though I used the Registry Editor within the
      VS.NET 2003 IDE (I eventually found it), ocra.exe will be extremely
      useful for me in the future. I just learnt something new.

      Thanks!

      Comment

      Working...