Yes, this should be possible. Here are the steps you need to follow:
- Go through the standard "Publish to EXE" workflow.
- On the "Finished Publishing" dialog at the end, save the publish settings by clicking on the "click here" link. This should save the publish settings file to your script folder.
- You can now automatically generate the exe using the settings file through the following command line:
Code:
Vizard.exe -publish "<full path to the publish settings file>"
This should create an exe in the same folder as the settings file with the same filename. For example, if your settings file was located at "C:\MyScript\MyDemo.xml", the EXE would be located at "C:\MyScript\MyDemo.exe".