+ Reply to Thread
Results 1 to 3 of 3

Thread: how to set a subfolder of windows folder as installdir?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2015
    Location
    CA, Unitedd States
    Posts
    130

    Post how to set a subfolder of windows folder as installdir?

    OK here we go:

    I have a collection of dell wallpapers I backed up off a factory image of a laptop and want to make an installer to drop the "Dell" folder to %windir%\Web\Dell (in vista+) and %windir%\Web\Wallpaper\*.* in XP/2000. When i set my [INSTALLDIR] in the IDE under general properties to %windir%\Web\Wallpaper then compile the installer on thee select install folder screen (sett destination) the environment variable is not replaced. so on my Win 7 Ultimate x64 test machine I see %windir%\Web\Wallpaper instead of C:\Windows\Web\Wallpaper. Am I doing something wrong in the IDE or is there something I am missing/forgetting to do with the script/visualizer interface? Normally something like %programfiles%\mycompany\myapp1.0 usually works, or it did in SB 6 and SB 7. Could my SetupBuilder skills just be getting a bit rusty?

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: how to set a subfolder of windows folder as installdir?

    Hello,

    Are you really using "%windir%" (lowercase and not a valid runtime variable) or "%WINDIR% (uppercase)? Runtime variables are always uppercase.

    Does this help?

    Friedrich

  3. #3
    Join Date
    Apr 2015
    Location
    CA, Unitedd States
    Posts
    130

    Default Re: how to set a subfolder of windows folder as installdir?

    Hi:

    That was it! That fixed me

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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