#1 Installation of msi package does provide context menu items

Kevin Cheng
Michael Heimpold


I tried to install the msi package because I want to
deploy it via an unattended setup. Installation works
fine except that when logging in as normal user the
menu items for CVS doesn't shows up. When logging in
as Adminstrator everything works as expected.
I used the following command line:
msiexec /qb-! /i TortoiseCVS-1.8.26.msi

Additionally I tried to reinstall/repair the package,
both without success.

Now I switched to the exe installer with /silent
switch, that works.

Where is my mistake?


  • Kevin Cheng
    Kevin Cheng

    Logged In: YES

    I dont have a machine set up to try to repro this at the
    moment, but some of the registry settings are installed
    under the current user tree instead of local machine (most
    installation items are copied verbatim from the Innosetup
    scripts). This may cause problems if you're running the
    install under admin and then trying to use Tortoise under
    another user. I will take a look at this in more depth
    later and get back...

  • Logged In: YES

    I experienced similar problems deploying the MSI package
    via a Group Policy object. I assigned the package under
    Computer Settings\Software Settings\Software
    Installation. I saw the package successfully deploy to my
    workstations, but when I logged in, the Explorer context
    menus did not change. Because all of my users are either
    Power Users or Administrators and because I configured MSI
    to run with elevated privileges on install, I was able to
    perform repair installs from the accounts that needed to
    use TortoiseCVS. I had to perform the repair install once
    for each account, even if both accounts used the same
    computer (e.g. my admin and regular test account on my
    test workstation).

    I suspect that there is something wrong with the MSI
    package. The TortoiseSVN MSI does not have this problem.
    When I get some free time, I'll diff the two MSI packages
    to see what the TortoiseSVN packagers do differently.

  • Kevin Cheng
    Kevin Cheng

    • assigned_to: nobody --> kevincheng
  • Kevin Cheng
    Kevin Cheng

    Logged In: YES

    After doing additional testing, I've found that the install
    only works on the account of the user who installed TCVS
    because the some registry keys are only installed in
    HKEY_CURRENT_USER (HKCU). The behavior is the same for the
    Innosetup installer. The good news is that I can probably
    change the installer to do a conditional install of these
    settings in _either_ HKCU or HKLM depending on whether the
    user is doing a per-user or per-machine install without
    affecting the functionality of the program. I will
    implement this for the 1.8.27 package within the next few
    days if no one sees any problems with this...

  • Kevin Cheng
    Kevin Cheng

    Logged In: YES

    I've fixed the issue in the 1.8.27 package and verified
    that it works in the limited testing that I'm able to do.
    Please download the new package from the file releases and
    verify that it works for you before I send out the new
    release notifications.

  • Logged In: YES

    It works for me (1.8.27), too. Thank you!

  • Kevin Cheng
    Kevin Cheng

    • status: open --> closed-fixed
  • Logged In: YES

    The new package also works for me. Thanks for the quick
    fix! I really appreciate your efforts.