SetupBuilder Community  

Go Back   SetupBuilder Community > SetupBuilder Software Installation System > SetupBuilder - NNTP

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-16-2005, 02:44 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,155
Default Show message on Developer machine only

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
Reply With Quote
 


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

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

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


All times are GMT -6. The time now is 04:22 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004-2012 Lindersoft