SetupBuilder Community  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2005, 02:44 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
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
  #2  
Old 09-16-2005, 02:44 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Show message on Developer machine only

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
Reply With Quote
  #3  
Old 09-17-2005, 06:56 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Show message on Developer machine only

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
Reply With Quote
  #4  
Old 09-17-2005, 06:57 AM
NewsArchive NewsArchive is offline
Senior Member
 
Join Date: Jan 2005
Posts: 27,261
Default Re: Show message on Developer machine only

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


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 06:46 AM.


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