PDA

View Full Version : Override [OUTPUTDIR]



bagofgloom
07-20-2010, 07:00 PM
I am trying to override the [OUTPUTDIR] using a constant. It works correctly when I am copying files but it will not put my installer or htm in the correct folder. Just puts it in the default directory.

My Default [OUTPUTDIR] is Z:\

My override is Z:\[PROJECTNAME]

I am copying one file PROJECTNAME.ini using [OUTPUTDIR]\PROJECTNAME.ini and it works correctly but my exe and htm are never in this folder. Both are in the default Z:\

Any ideas? Thanks in advance.

LSConsulting
07-21-2010, 09:00 AM
Hello,

The attached screenshot from the online manual should help.

Lindersoft Emergency Support

bagofgloom
07-21-2010, 09:32 AM
This limits our ability to use one SetupBuilder project to do all our QA builds. We have five QA builds. The only difference between the five SetupBuilder projects that I have not been able to workout is the output directory. I am maintaining/using five SetupBuilder projects when I could be using one.

bagofgloom
07-21-2010, 02:33 PM
If the output directory cannot be overriden then I am forced to use multiple SB projects even if the project is identical except the output directory. Is it possible to move the *.exe after it has been created?

LSConsulting
07-22-2010, 11:30 AM
You have several different options here. The "Releases" feature is one of them. But I would use "#copy file(s)" after script compilation.

Lindersoft Emergency Support

LSConsulting
07-22-2010, 11:31 AM
Yes, you can use the #copy file(s) directive to move the .exe, .htm, .etc.

Lindersoft Emergency Support

LSConsulting
07-22-2010, 11:36 AM
Don't forget to mark the "Process after script compilation" checkbox.

Lindersoft Emergency Support