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. Windows API
  4. Quick & Dirty Vista Virtualization Hack

Quick & Dirty Vista Virtualization Hack

Scheduled Pinned Locked Moved Windows API
3 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.
  • H Offline
    H Offline
    Heavenword1
    wrote on last edited by
    #1

    I have a legacy app that writes to the program's current working directory, which if the user accepts the default install folder, is under Program Files. Thus Vista's virtualization kicks in. With a single CD install, everything is cool. But because my app can be distributed on multiple CD's (with different sets of content) which are obviously installed sequentially, Vista's virtualization breaks down somehow (not sure how) such that only the most recent content install shows up in the program. While you can hack around it by changing permission settings of the Program Files subfolder, the quick and dirty answer seems to be to simply install the app to a unique folder other than Program Files. Then it works happily. The unintend consequence of Microsoft's paternalism would then seem to be hard disk clutter. :)

    O 1 Reply Last reply
    0
    • H Heavenword1

      I have a legacy app that writes to the program's current working directory, which if the user accepts the default install folder, is under Program Files. Thus Vista's virtualization kicks in. With a single CD install, everything is cool. But because my app can be distributed on multiple CD's (with different sets of content) which are obviously installed sequentially, Vista's virtualization breaks down somehow (not sure how) such that only the most recent content install shows up in the program. While you can hack around it by changing permission settings of the Program Files subfolder, the quick and dirty answer seems to be to simply install the app to a unique folder other than Program Files. Then it works happily. The unintend consequence of Microsoft's paternalism would then seem to be hard disk clutter. :)

      O Offline
      O Offline
      originSH
      wrote on last edited by
      #2

      Do you read Raymond Chen's blog? If not I'd suggest doing so :P http://blogs.msdn.com/oldnewthing[^]

      H 1 Reply Last reply
      0
      • O originSH

        Do you read Raymond Chen's blog? If not I'd suggest doing so :P http://blogs.msdn.com/oldnewthing[^]

        H Offline
        H Offline
        Heavenword1
        wrote on last edited by
        #3

        There is a lot there. I'm not sure what you think I should be looking for.

        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