Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS2010 Setup and Deployment Project - CommonAppDataFolder for XP

VS2010 Setup and Deployment Project - CommonAppDataFolder for XP

Scheduled Pinned Locked Moved Visual Studio
visual-studiosysadminquestionworkspace
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 2694153
    wrote on last edited by
    #1

    I am trying to create a folder under CommonAppDataFolder during install. It works fine for my Windows7 x64 computer, but the folder does not get created for WindowsXP x86 computer. In Windows7 I get a folder "C:\ProgramData\MyCompany\MyProgram" In Windows XP I would have expected a folder "C:\Documents and Settings\All Users\MyCompany\MyProgram", but that folder does not get created. On both computers I can manually create the folder with the user I am logged into, so I don't think its a permission thing. In VS Setup Project I create a custom folder using add special folder saying that the DefaultLocation is: [CommonAppDataFolder][Manufacturer]\[ProductName], then I set the Property property to "COMMONAPPDATAFOLDER". Is there something I am missing? Something specific to Windows XP?

    B 1 Reply Last reply
    0
    • M Member 2694153

      I am trying to create a folder under CommonAppDataFolder during install. It works fine for my Windows7 x64 computer, but the folder does not get created for WindowsXP x86 computer. In Windows7 I get a folder "C:\ProgramData\MyCompany\MyProgram" In Windows XP I would have expected a folder "C:\Documents and Settings\All Users\MyCompany\MyProgram", but that folder does not get created. On both computers I can manually create the folder with the user I am logged into, so I don't think its a permission thing. In VS Setup Project I create a custom folder using add special folder saying that the DefaultLocation is: [CommonAppDataFolder][Manufacturer]\[ProductName], then I set the Property property to "COMMONAPPDATAFOLDER". Is there something I am missing? Something specific to Windows XP?

      B Offline
      B Offline
      Brisingr Aerowing
      wrote on last edited by
      #2

      I haven't seen that issue, but have you tried WiX? I think that may work better, as the visual studio setup project leaves something to be desired.

      Bill Gates is a very rich man today... and do you want to know why? The answer is one word: versions. Dave Barry Read more at [BrainyQuote](http://www.brainyquote.com/quotes/topics topic_technology.html#yAfSEbrfumitrteO.99)[^]

      M 1 Reply Last reply
      0
      • B Brisingr Aerowing

        I haven't seen that issue, but have you tried WiX? I think that may work better, as the visual studio setup project leaves something to be desired.

        Bill Gates is a very rich man today... and do you want to know why? The answer is one word: versions. Dave Barry Read more at [BrainyQuote](http://www.brainyquote.com/quotes/topics topic_technology.html#yAfSEbrfumitrteO.99)[^]

        M Offline
        M Offline
        Member 2694153
        wrote on last edited by
        #3

        Thanks. The problem ended up being the folders were hidden and the XP option to view them was not selected. I looked into WiX and that is very interesting. thanks for the tip!

        B 1 Reply Last reply
        0
        • M Member 2694153

          Thanks. The problem ended up being the folders were hidden and the XP option to view them was not selected. I looked into WiX and that is very interesting. thanks for the tip!

          B Offline
          B Offline
          Brisingr Aerowing
          wrote on last edited by
          #4

          You're welcome. I use WiX myself, and it is very useful (and powerful!).

          Bill Gates is a very rich man today... and do you want to know why? The answer is one word: versions. Dave Barry Read more at [BrainyQuote](http://www.brainyquote.com/quotes/topics topic_technology.html#yAfSEbrfumitrteO.99)[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups