Catalin
Posts: 6596
Joined: Wed Jun 13, 2018 7:49 am

Re: Installation of bootstrapper using command line

You are always welcome, Balaji!

I am glad everything works as expected now.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Balaji
Posts: 53
Joined: Wed May 06, 2020 9:15 am

Re: Installation of bootstrapper using command line

Hi Catalin,
Thanks for your valuable support.
Also, I have one query.... Can we just display error message on command line instead of showing error prompt?

Is it possible?

Thanks,
Balaji
Catalin
Posts: 6596
Joined: Wed Jun 13, 2018 7:49 am

Re: Installation of bootstrapper using command line

Hello Balaji,

You are always welcome! I am glad I was able to help.

If you are looking to display the message in the same command prompt console that launches the setup, I'm afraid that might not be possible.

A way of achieving this would be by wrapping the setup into a .BAT file (e.g. launch the setup through a batch file) and based on the return code of the MSI, write something to the console (through ECHO).

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Balaji
Posts: 53
Joined: Wed May 06, 2020 9:15 am

Re: Installation of bootstrapper using command line

Hi Catalin,
Thanks for reply.
I have gone through your previous reply. But, is it achievable without wrapping the setup into a .BAT file (e.g. launch the setup through a batch file).
Is there any other alternative way to display error message on command line?
Instead can we achieve it through some scripting or custom actions?

Thanks!
Balaji
Catalin
Posts: 6596
Joined: Wed Jun 13, 2018 7:49 am

Re: Installation of bootstrapper using command line

Hello Balaji,
Is there any other alternative way to display error message on command line?
Instead can we achieve it through some scripting or custom actions?
I can not say for sure that this is not possible.

However, I am not aware of any way to achieve this.

From your script, you should somehow get the focus of the parent command prompt and echo a message to that prompt.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”