.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
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
Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path
Old
  (#2)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path - 26-02-2005

what is NSIS ?


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)
  
Reply With Quote
Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path
Old
  (#3)
sPlOrYgOn
<-- He did it.
 
sPlOrYgOn's Avatar
 
Status: Offline
Posts: 1,558
Join Date: Jan 2004
Location: Los Angeles, California, USA, North America, Earth, Solar System, Milky Way.
Default Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path - 26-02-2005

http://nsis.sourceforge.net/
  
Reply With Quote
Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path
Old
  (#4)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path - 26-02-2005

I see.

I'm using http://www.jrsoftware.org/isinfo.php instead.


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)
  
Reply With Quote
Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path
Old
  (#5)
KaCaT
Moderator
 
Status: Offline
Posts: 55
Join Date: Dec 2003
Default Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path - 27-02-2005

Just add a backslash to the end of your installation directory in your NSIS script will fix that (C:\SIERRA\Half-Life\ for example)


IvPBot - Improved version of Podbot

Last edited by KaCaT; 27-02-2005 at 10:11..
  
Reply With Quote
Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path
Old
  (#6)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: patching NSIS so that it won't stupidly append a "Half-Life" or something in the path - 05-03-2005

I don't like Inno Setup very much, as it's written in Pascal with Borland's proprietary VCL library (i.e., Delphi). If I want to patch it, I will have to pay quite a lot of $$$ and also I don't know Pascal

Quote:
just add a backslash to the end of your installation directory in your NSIS script will fix that (C:\SIERRA\Half-Life\ for example)
thanks for that! I didn't think on it will be simple like this
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com