Indigo Rose Software
  #1  
Old 09-24-2004
OneSharpeGuy's Avatar
OneSharpeGuy OneSharpeGuy is offline
Forum Member
 
Join Date: Sep 2004
Posts: 7
Variable Setup File Name

I want to be able to make the setupfile automatically reflect the Visual Basic ProjectFile Name and Version Number (like MyProject_1_2_34) is this possible to do with variables at buildtime?
Reply With Quote
  #2  
Old 09-24-2004
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Sure, just define some constants for it (Publish > Settings, click on Constants tab) and use those constants where you'd put the filename.

e.g. #PROJECT_NAME##BUILD_NUMBER#.exe

If you're performing an unattended build, you can use an ini file to set the values for those constants. Otherwise, just go to Publish > Settings and adjust the values whenever they change.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #3  
Old 09-24-2004
OneSharpeGuy's Avatar
OneSharpeGuy OneSharpeGuy is offline
Forum Member
 
Join Date: Sep 2004
Posts: 7
I'm a newby Lorne. Tell me more. Give me a brief example of how you would do this with an INI file.
Reply With Quote
  #4  
Old 09-24-2004
Lorne's Avatar
Lorne Lorne is offline
Indigo Rose Staff Member
 
Join Date: Feb 2001
Location: Indigo Rose Software
Posts: 2,588
Just look up "unattended build options" in the SF7 help file. Either use the index to find "unattended build objects," or use the Table of Contents to navigate to:

Program Reference > Misc > Command Line Options

...and click on the Unattended Build Options link.
__________________
--[[ Indigo Rose Software Developer ]]
Reply With Quote
  #5  
Old 09-24-2004
Ted Sullivan's Avatar
Ted Sullivan Ted Sullivan is offline
Indigo Rose Staff Member
 
Join Date: Oct 2003
Posts: 825
Or, just click here:
http://www.indigorose.com/webhelp/su...ne_Options.htm

It's the same "Command Line Options" and "Unattended Build Options" topics in WebHelp form.
__________________
Check out the new MSI Factory 2.0!
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Features in Setup Factory 7.0 Ted Sullivan Setup Factory 7.0 Discussion 0 08-12-2004 01:13 PM
INFO: The Order of Execution in a Setup Factory 5.0 Installation Support Setup Factory 5.0 0 10-10-2002 04:45 PM
PROBLEM: Setup Requests Disk 2 in a Single File Setup Support Setup Factory 6.0 Knowledge Base 0 10-09-2002 03:04 PM
Install only into one of several directories with specific existing file? RichardShaw Setup Factory 5.0 0 08-17-2000 03:29 PM
Built-in variable for setup file name jbyrne Setup Factory 6.0 1 04-24-2000 09:24 AM


All times are GMT -6. The time now is 06:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software