Community Forums
Results 1 to 4 of 4

Thread: Best practices for MSI cache

  1. #1
    Join Date
    Jan 2013
    Posts
    14

    Best practices for MSI cache

    Hi!

    I currently use some setup.exe packages with Cache MSI Locally option enabled, and default Cache Path ("[LocalAppDataFolder]Downloaded Installations"). As a user folder, this causes a problem if the user who installs the package is not the same as the user who uninstalls it from the ARP (as described in the Installshield knowledge base).

    To continue using ARP to do this, I plan to move the Cache Path to "[CommonAppDataFolder]Package Cache". I saw that Microsoft was using this folder for some installations (such as Visual C++ packages). From what I know, all users can create subfolders here. In the most common scenarios, users cannot overwrite or remove existing files in this folder if they do not own them, but it is not an issue here (as MSI cache is not removed).

    Are there any disadvantages to do that?

    Thanks a lot,
    Adrien

  2. #2
    Join Date
    Jan 2013
    Posts
    14
    Hi,

    I remain interested in any opinion about the Cache Path

    Adrien

  3. #3
    Join Date
    Jul 2003
    Location
    North Kingstown, RI, USA
    Posts
    1,330
    Adrien,

    I suspect that the only condition to be aware of is if your installer offers the option to install per-user. My guess is that this is not the situation for you based on the idea of another user uninstalling.
    Otherwise there isn't anything I am aware of that says you cannot use the [CommonAppDataFolder]\CompanyName\AppName folder. I do not know the rules for the Package Cache folder.
    Regards,
    Dan Lee

    Release Engineer

  4. #4
    Join Date
    Apr 2008
    Posts
    125

    Not seeing the problem with caching the MSI locally

    I cache our install using the default folder. One user logs in and installs. A different user logs in and uninstalls. No issues. The only think I can think of has already been mentioned though... is your install set to be "All Users"?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •