Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-05-2008, 05:46 AM
uksmiffy uksmiffy is online now
Registered User
 
Join Date: 02-27-2008
Location: Reading, UK
Posts: 1
Refuse Save on Build Scripts

Hi,

I have some build scripts which have some VBScript in to determine which path to take. These scripts change the ticked property of the step to skip groups or tasks.

When it gets to the end of the script it asks if I would like to save the changes. Is there any way to stop this and refuse the saving when the build is running?

These scripts are being run from another script so it is stopping the progression of the script.

Any help would be great.

Thanks

Paul
Reply With Quote
  #2  
Old 03-05-2008, 07:01 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
It would probably be better to use conditional build rules instead of modifying the checked status, but you could save the .bld file to another location at the end if needed, i.e.:

If Project.IsModified Then Project.Save "%TEMP%\temp.bld"

Another option would be to build with the Console app, which discards any unsaved changes made to the .bld file during the build.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off



All times are GMT -5. The time now is 10:50 AM.


Copyright © 1999-2023 Kinook Software, Inc.