progress as output of a silent installation

Got a problem you cannot solve? Try here.
stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

progress as output of a silent installation

Postby stefan.nieten » Thu Oct 10, 2013 4:52 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Thu Oct 10, 2013 10:27 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Re: progress as output of a silent installation

Postby stefan.nieten » Thu Oct 17, 2013 4:52 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Thu Oct 17, 2013 11:06 am

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Re: progress as output of a silent installation

Postby stefan.nieten » Tue Oct 22, 2013 6:13 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Thu Oct 24, 2013 3:09 am

Dear Stefan,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Re: progress as output of a silent installation

Postby stefan.nieten » Tue Oct 29, 2013 4:20 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Tue Oct 29, 2013 12:52 pm

Dear Stefan,

... I never used that code.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Re: progress as output of a silent installation

Postby stefan.nieten » Thu Dec 05, 2013 9:37 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Thu Dec 05, 2013 11:38 am

Dear Stefan,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

stefan.nieten
Posts: 15
Joined: Fri Feb 01, 2013 5:23 am

Re: progress as output of a silent installation

Postby stefan.nieten » Tue Dec 17, 2013 4:50 am

Hi Francesco,

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

regards,
Stefan

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Tue Dec 17, 2013 5:15 am

Dear Stefan,

Unfortunately Not yet.

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

jrowles
Posts: 1
Joined: Tue Sep 09, 2014 8:05 pm

Re: progress as output of a silent installation

Postby jrowles » Tue Sep 09, 2014 8:08 pm

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.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: progress as output of a silent installation

Postby FrancescoT » Wed Sep 10, 2014 11:00 am

Unfortunately, nothing new on this.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 90 guests