![]() |
|
|
|
#1
|
|||
|
|||
|
Hi Friedrich,
Thought I'd post this little tip ![]() In a WebUpdate install I need to make sure that I remember to update certain things, compiler variables etc. etc. every time I release a new build. So I decided to use SB5 to do that automatically for me. In the "Initialize Setup" section I put this code, right after the #include script "Common Definitions.sbi": Set Variable %DEVMODE% to GetIni("Location") from MySB5Setup.ini If %DEVMODE% Equals "1" Then Display Message Box "Remember to check ..." -- "Developer Mode" End Then I created a the MySB5Setup.ini file in my windows directory that contains: [Location] Location=1 Since this INI ONLY exists on _MY_ development machine whatever is conditioned to show up if %DEVMODE% = 1 will only ever show up on my machine. If you feel better about using the registry, then by all means use the registry ![]() Best regards, Arnór Baldvinsson Icetips Software San Antonio, Texas, USA www.icetips.com Subscribe to information from Icetips.com: http://www.icetips.com/subscribe.php |
|
#2
|
|||
|
|||
|
Hi Arnór,
Very interesting tip! Thanks for sharing ![]() Friedrich -- Friedrich Linder CEO, Lindersoft www.lindersoft.com 1.954.252.3910 "point. click. ship" - that's SetupBuilder 5 |
|
#3
|
|||
|
|||
|
Arnor,
Not quite the same thing, but have you noticed there's also the ability to have the compiler give you a message (I use it for a similar reminder) each time you compile your script? It's the #msgbox option in Compiler Directives. Jane |
|
#4
|
|||
|
|||
|
Hi Jane,
>Not quite the same thing, but have you noticed there's also the ability to >have the compiler give you a message (I use it for a similar reminder) each >time you compile your script? It's the #msgbox option in Compiler >Directives. Cool! No I hadn't noticed that. Even though I have built several installs (including a web updater) in SB5 I'm just starting to scratch the surface! Also, you can use the #msg to show a message in the compile window. That could come in really handy as well So does the #run if youneed to call an external program to prepare a file or something. Best regards, Arnór Baldvinsson Icetips Software San Antonio, Texas, USA www.icetips.com Subscribe to information from Icetips.com: http://www.icetips.com/subscribe.php |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SetupBuilder 6.0 Developer Edition released. | NewsArchive | SetupBuilder - NNTP | 28 | 12-22-2006 08:24 AM |
| SetupBuilder 6.0 Developer Edition released. | linder | Lindersoft Announcements | 0 | 12-18-2006 10:33 AM |
| SetupBuilder 5.6 Developer Edition is released! | linder | Lindersoft Announcements | 0 | 09-19-2006 03:08 AM |
| SetupBuilder 5.6 Developer Edition is released! | NewsArchive | SetupBuilder - NNTP | 0 | 09-19-2006 03:07 AM |
| SetupBuilder 5.5 Developer Edition is released! | linder | Lindersoft Announcements | 0 | 08-14-2006 04:36 AM |