Welcome, Guest
Username Password: Remember me

Run CreateInstall from the command line? Goto page 1, 2 Next
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Run CreateInstall from the command line? Goto page 1, 2 Next

Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #915

Hi,

I am wondering if it is possible to use CreateInstall to create an installer package from the command line (according to a specific .ci file).

This way I could create a package using a cmd file. Making the package could be done automatically ..... from a script of mine. Idea

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #916

  • applicationPackaging
Yes, you can.

ci.exe <your .ci project>

For example

ci.exe "c:\my setups\my.ci"
ci-light.exe c:\temp\my.ci
_________________

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #917

ow I am wondering if there is a switch that would suppress the "Creating Installation" Dialog ?

If not, maybe "we" could add this feature in the future? ---- Wink

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #918

  • applicationPackaging
There is not such feature.
The state of checkboxes is the same as in the previous execution.

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #919

Hi,

Before I was Running ci.exe from the command line according to a specific .ci file

I ran from vbscript [ci.exe "File.ci"] it in a hidden window, I still saw the Build Dialog. But I did not see the ci.exe main window.

In CI5 is there a way?
How about cicmd.exe ?

Does ci.exe have any undocumented switches?

I would at the very least like to run from a .cmd file without the Main window and see just the Build Dialog like I can do using vbscript.

I am trying to automate the Packaging operation. I would like it to be Totally quiet, and at the most see the Build Dialog.

I would like to do this without using vbscript.

Any hope for me? Rolling Eyes Rolling Eyes

I noticed if I make an XP shortcut to ci.exe, and in the properties window choose Run Minimized.

Then if you double click the shortcut, ci.exe does Not run minimized. So I cannot use this as a workaround.

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #920

  • applicationPackaging
If you want to run creating setups from the command line then use cicmd.exe

cicmd.exe "path to your .ci project file"
Also, see Project tab - > Setup Builder options of your project.


About minimizing shotrcuts
Open cmds\cmds\system\shortcut.gt
Change Line 91 from
<min label = minimize>2</>
to
<min label = minimize>7</>

Save it. It will fix the problem.

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #921

  • applicationPackaging
Great,

cicmd.exe let me run the ci file with the main window minimized.
I only see the Build Dialog Box.

That was a big help.

Alexey I have a cmd script that is parsing and writing the *.ci file.
At the end of the .cmd file, I run the file now using cicmd.exe.

It would really be nice to be able to suppress the Build Dialog.

In my .cmd file I want to parse and create the .ci file, then Build the CreateInstall.exe file.

Then I would like to go on without stopping in my .cmd file, and parse a new *.ci file, and then create a new Installerexe file then perhaps repeat again more times!

But I cannot do this as when I run cicmd.exe the first time, the Build Dialog Opens and I have to close it.

Though I would MUCH prefer to be able to suppress the Build Dialog when using cicmd.exe , I could get by if the Dialog would open then close automatically.

In CI5, checking the box in the Build Dialog for "Close Automatically On Completion" seems to do nothing (even for a re-build).

Help! (a little bit more) Smile

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #922

For example, you have a project myproject.ci.
Open it with ci.exe
Open Project Tab - Setup Builder.
Check on &#039;Close Automatically&#039; checkbox there.
Save it.
Now if you run it as
cicmd.exe myproject.ci
then Build Dialog will be closed automatically.

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #923

  • applicationPackaging
This may be true, but I never will use cicmd.exe on a .ci file that has been run by double clicking (thru the main window).

So When I run a .ci file with cicmd.exe, a .ci file that has never been run ...... when I check the box "Close Automatically" then hit the button "Close".... (here there is no way to "save") .

For a new .ci file, the box is always unchecked by default.

I need a preference setting to choose cicmd.exe to always close automatically (for the next time I run a new file with cicmd.exe)

Always on a .ci file never Built, the box is unchecked.
Am I wrong?

Re: Run CreateInstall from the command line? Goto page 1, 2 Next 2 years, 5 months ago #924

You can manage the state of checkboxes from the command line.
-r or -r1 - &#039;Launch setup on close&#039; is checked
-r0 - unchecked
-c or -c1 - &#039;Close Automatically&#039; is checked
-c0 - unchecked

For example,
cicmd.exe -c -r "myproject.ci"
  • Page:
  • 1
  • 2
Time to create page: 0.81 seconds

     
    
Home Forum