Announcement

Collapse
No announcement yet.

Is there a way to specify a custom %TempLaunchFolder%?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is there a way to specify a custom %TempLaunchFolder%?

    When running a setup built with SUF, the _TempLaunchFolder is generated here:
    %TEMP%\_ir_sf_temp_#

    Is there a way to specify a custom TempLaunchFolder, such as "C:\MYAPP\SETUP"? I tried a couple of different things but they didn't work.

    Thanks.

  • #2
    Usually this directory will be the user's temporary directory, unless the user overrides the temporary directory with the /T command line option.

    Comment


    • #3
      Example: in CMD

      "C:\setup.exe" "/T:C:\MYAPP\SETUP"

      Comment


      • #4
        Thanks for the reply. I meant without specifying a parameter. Looks like that is not possible, though.

        Comment


        • #5
          Hmmm. Since we can do this:
          _BackupFolder = "C:\\MYAPP\\SETUP";

          I'm not sure if these below are possible though, since _BackupFolder and _Templaunchfolder are both Global Variables

          _Templaunchfolder = "C:\\MYAPP\\SETUP";

          SessionVar.Set("%_Templaunchfolder%", "C:\\MYAPP\\SETUP");

          Comment


          • #6
            Sorry, last suggestion should be:

            SessionVar.Set("%TempLaunchFolder%", "C:\\MYAPP\\SETUP");

            Comment

            Working...
            X