[CommandBox] How to install on windows

I have tried to install commandbox on windows. However when I launch I get this error:

Page /Users/Francesco/.CommandBox/cfml/system/Bootstrap.cfm [C:\Users\Francesco.CommandBox\cfml\system\Bootstrap.cfm] not found

In /Users/Francesco/.CommandBox/ folder I see only two subfolder “lib” and “server”

@Tropicalista,
I have successfully installed Commandbox, both manually, following the steps outlined in the readme (the windows instructions are below, and interspersed with, the unix and other operating system directions; and as an automated, continuous integration build, using Jenkins.

In summary, I:
Unzipped the file, in my case to the C:\ drive, producing C:\commandbox
I read the readme.md file which contained directions.
I got a windows command prompt, changed to the c:\commandbox directory
I entered:
box-cli.bat build
THEN I entered:
box-cli.bat build.cli.exe
Then I changed to the c:\commandbox\dist directory and entered:
./box.exe
and got the ascii art splash screen that indicated I was executing command box
then I tested by typing;
help install
and learned how commandbox could be used to install any other of the 'box applications…
Hope that Helps
JT “I’m not an expert, but I play one in the office” Davis

Thanks, I have solved!!!

Hi, I see you have resolved this before I got back to my keyboard?

For the sake of anyone else who runs into this, can you clarify where you downloaded CommandBox from and what download you used? The install should be very simple. On Windows if you already have Java installed, just grab the “Windows Binary” from http://www.ortussolutions.com/products/commandbox#download and double click it. The first time it runs, it should tell you it’s extracting files. I’m not sure why you didn’t see to have all the folders in your user/.CommandBox directory, but if in doubt, simply delete the entire .CommandBox directory and re-run the executable.

In early versions of the CLI we had an issue where it wouldn’t work if you had the binary stored on a different drive than your user directory (COMMANDBOX-30) but that should be fixed now.

It’s also possible you had an old version of the CLI installed previously. If the .CommandBox directory exists in your user folder, it won’t extract again.

And finally, we also have a mailing list dedicated to CommandBox here: https://groups.google.com/a/ortussolutions.com/forum/#!forum/commandbox

Feel free to join up to ask more questions or give suggestions!

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I have downloaded commandbox for windows without JRE from ortus solution site. I have extracted the zip and launched box.exe, however probably I have shut down the app before it completed the installs. I have deleted commaandbox folder and installed again and all works great now.

Yes, that would make sense that if you closed the window before the extraction completed it would have only written some of the folders. And the next time you opened it, the extraction would not have run again. Perhaps we could consider an enhancement to write the version file last or something so the binary can recognize if the previous installation never completed.

Please report back ASAP with your “snake” high score. :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com