View Single Post
patching NSIS so that it won't stupidly append a "Half-Life" or something in the path
Old
  (#1)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default patching NSIS so that it won't stupidly append a "Half-Life" or something in the path - 26-02-2005

find this in the ui.c file:
PHP Code:
        if (g_header->install_directory_auto_append)
        {
          const 
char *post_str ps_tmpbuf;
          
GetNSISStringTT(g_header->install_directory_auto_append);
          
// display name gives just the folder name
          
if (lstrcmpi(post_strg_tmp))
          {
            
lstrcat(addtrailingslash(dir), post_str);
          }
        } 
...and comment all this out
  
Reply With Quote