Menu

#1237 Environment variables can't be used with ZIP2EXE

3.0 Series
closed-wont-fix
nobody
None
5
2021-06-10
2019-11-06
No

It seems environment variables can't be used with ZIP2EXE. I think this is a kind of bug!
I tried to create with ZIP2EXE a simple installer to bring the latest CleanerML files to BleachBit users with Windows XP.
My intension was to write them direct into the right sub-folder under %ProgramFiles(x86)%, but this doesn't work!

Discussion

  • Anders

    Anders - 2019-11-06

    You need to write a real installer instead of using Zip2Exe if you want to expand a custom environment variable but Zip2Exe has built-in support for $ProgramFiles (see the dropdown for the Default Folder item). $ProgramFiles is the 32-bit x86 folder in 32-bit installers.

     
  • slim23 4-EveR

    slim23 4-EveR - 2019-11-06

    So there are no plans to support system environment variables, right?

     
    • Anders

      Anders - 2019-11-07

      Zip2Exe already supports a couple of variables that are basically the same as standard environment variables and in your case you want $ProgramFiles. Supporting random environment variables does not make a lot of sense because the user might not have them set.

       
  • Anders

    Anders - 2021-06-10
    • status: open --> closed-wont-fix
     

Log in to post a comment.