Page 1 of 1

progress as output of a silent installation

Posted: Thu Oct 10, 2013 4:52 am
by stefan.nieten
Hi InstallAware-Team,

is it possible with IA17 to get the installation progress information of a silent installation directly as output of the installer executable? We want to start a installer executable from another program as a sub installer and show the progress information within the program's gui. Not just show and hide the installer gui, which was mentioned in http://www.installaware.com/forum/viewtopic.php?f=2&t=5703 and http://www.installaware.com/forum/viewtopic.php?f=2&t=6469.

Thanks in Advance!

greets,
stefan

Re: progress as output of a silent installation

Posted: Thu Oct 10, 2013 10:27 am
by FrancescoT
Dear Stefan,

If I haven't missed anything, you can use the "(Un)Install MSI Setup" command to execute that package silently, but with displaying its installation progress within the caller package.

The (Un)Install MSI Setup plug-in provided command installs, re-installs, or uninstalls a Windows Installer setup. A full Windows Installer setup command line may be specified. The progress of the Windows Installer setup will be captured and displayed as part of the installation progress.
-

Hope this helps you.

Regards

Re: progress as output of a silent installation

Posted: Thu Oct 17, 2013 4:52 am
by stefan.nieten
Hi Francesco,

okay thank you. But yes we want to get the progress information as output of the installer (msi/exe) to show it in our custom gui.

I just found this stackoverflow article about this:
http://stackoverflow.com/questions/1659 ... -cancel-it
Maybe there are other possibilities to get the progress information of the installer.

best,
stefan

Re: progress as output of a silent installation

Posted: Thu Oct 17, 2013 11:06 am
by FrancescoT
Dear Stefan,

but if you want to follow what suggest by the link, you only need to run that package using the "run Program" command from your installer.
Obviously, doing this the msi/exe package that you execute will use its own interface and it will be not integrated in your setup UI as I suggested previously.

am I missing something?

Regards

Re: progress as output of a silent installation

Posted: Tue Oct 22, 2013 6:13 am
by stefan.nieten
Hi Francesco,

we are alreay use the "run program"-cmd to execute sub installers in our installers. The progress information from the sub installers is also visible in
the main installer gui. So this works fine.
But now we would like to execute an installer executable/msi which was built with InstallAware in another c++-application and display the installation progress within the application's gui. In the last post of the stackoverflow article it is mentioned, that it could be done by using the MSI-Api to execute the installer-msi and specify an external UI handler using MsiSetExternalUI or MsiSetExternalUIRecord.

Thanks for your support!
best,
stefan

Re: progress as output of a silent installation

Posted: Thu Oct 24, 2013 3:09 am
by FrancescoT
Dear Stefan,

you could try this sample;
http://msdn.microsoft.com/en-us/library/bb309215(v=vs.85).aspx

Regards

Re: progress as output of a silent installation

Posted: Tue Oct 29, 2013 4:20 am
by stefan.nieten
Hi Francesco,

okay thx. I modified the sample so that progress information of msi packages is messaged to stdout. I used some msi packages and progress data was messaged. Then I tried it with an InstallAware' built msi package (Standard Win32 Template, umcompressed build), but no progress infomation was returned. Do you know why this is the case?

Thanks in Advance!

greets,
stefan

Re: progress as output of a silent installation

Posted: Tue Oct 29, 2013 12:52 pm
by FrancescoT
Dear Stefan,

... I never used that code.

Regards

Re: progress as output of a silent installation

Posted: Thu Dec 05, 2013 9:37 am
by stefan.nieten
Hi Francesco,

but do you know another way than using the MSI-API to get progress information of Installers which were build with InstallAware? As I said for other MSI-Installers the Solution with "MsiSetExternalUIRecord" worked. Those Installers messages the installation progess and we could show the data in our custom gui progress bar. Or is the conclusion that their is no way to get installation progress data out of InstallAware-Installers? It is really imprtant for us to know.

Thank you!

greets,
Stefan

Re: progress as output of a silent installation

Posted: Thu Dec 05, 2013 11:38 am
by FrancescoT
Dear Stefan,

... I'll forward your answer to our dev team.

Regards

Re: progress as output of a silent installation

Posted: Tue Dec 17, 2013 4:50 am
by stefan.nieten
Hi Francesco,

okay thank you. Did you already got new information on this from the dev team?

regards,
Stefan

Re: progress as output of a silent installation

Posted: Tue Dec 17, 2013 5:15 am
by FrancescoT
Dear Stefan,

Unfortunately Not yet.

Of course, I'll be back to you as soon I receive a reply.

Regards

Re: progress as output of a silent installation

Posted: Tue Sep 09, 2014 8:08 pm
by jrowles
I am also interested in receiving an answer to this. I am invoking the installation from a C# WinForm application and would like to receive progress information (the text beneath the progress bar) so I can post it to my WinForm application.

Thanks in advance.

Re: progress as output of a silent installation

Posted: Wed Sep 10, 2014 11:00 am
by FrancescoT
Unfortunately, nothing new on this.

Regards