locked
Installation issues under Windows XP RRS feed

  • Question

  • We have the following installation problem under Windows XP SP 3 using InstallShield 2008 Professional Edition Version 14.
    1. A user is logged in on the target machine as a user without administrative rights, a member of the Users group.
    2. The user has opened a session with the website and a self-registering COM component is in use.
    3. The installation is started from a self-extracting installer using "Run as" with administrator credentials.
    4. The installation finishes with the prompt that the machine must be rebooted.
    5. The machine reboots.
    6. As a result the access rights to the self-registering component dll for the Users group members is lost. The Version and Security tabs are missing from File Properties of the dll. 
    7. The component dll cannot be instantiated if you belong to the Users group.
    8. The component dll is properly instantiated by the members of the Administrators group
    9. All the other components are NOT affected.

    I used the sysinternals tools PendMoves and AccessChk to diagnose the issue.
    PendMoves reports 3 objects including the one in question - dll3.dll to rename after reboot.

    Source: c:\Program Files\..\dll1f0g.rra
    Target: c:\Program Files\..\dll1.dll

    Source: c:\Program Files\..\dll2h3t.rra
    Target: c:\Program Files\..\dll2.dll

    Source: c:\Program Files\..\dll3u6g.rra
    Target: c:\Program Files\..\dll3.dll

    running accesschk against dll1f0g.rra and dll2h3t.rra for "users" returns R, i.e. members of "users" have Read privileges to those files.

    running accesschk against dll3u6g.rra for "users" returns
    No security Information available for c:\Program Files\..\dll3u6g.rra
    Access is denied.
    No matching objects found.

    running accesschk against dll3u6g.rra for "administrators" returns RW, i.e. read/write privileges.

    How could the privileges been revoked for the dll3u6g.rra file for the "users" group?

    • Moved by Kira Qian Friday, June 11, 2010 1:31 AM (From:ClickOnce and Setup & Deployment Projects)
    Tuesday, June 8, 2010 6:17 PM

Answers

  • One of the dlls had code in DllRegisterServer that was causing the access rights to be modified if the registration fails.
    • Marked as answer by r_georgi Monday, June 14, 2010 9:14 PM
    Monday, June 14, 2010 9:14 PM

All replies

  • Hi r_georgi,

    This forum is for people deploying Microsoft .NET applications with Microsoft ClickOnce deployment or Setup & Deployment packages. InstallShield is not a Microsoft technology; for questions with InstallShield, you should post to an InstallShield forum. 

    Thanks,
    RobinDotNet


    Click here to visit my ClickOnce blog!
    Microsoft MVP, Client App Dev
    Tuesday, June 8, 2010 8:12 PM
  • One of the dlls had code in DllRegisterServer that was causing the access rights to be modified if the registration fails.
    • Marked as answer by r_georgi Monday, June 14, 2010 9:14 PM
    Monday, June 14, 2010 9:14 PM