We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

PetLahev
Posts: 5
Joined: Tue Jul 28, 2015 9:37 pm

Openning another application from the Finish dialog.

Hi guys

I have similar problem like here - http://www.advancedinstaller.com/forums ... hp?t=26639
I'm installing MS Word add-ins (VBA) with bunch of templates etc.. I'd like to at the end of my installation run MS Word.
I was able to do that by LaunchFile - exactly according to http://www.advancedinstaller.com/user-g ... ation.html (The user cannot decide if the file will be launched section)
That was fine but I'd like to achieve the same but giving user the option to decide if she wants to run MS Word or not

So what I did instead is using ExitDialog ticked the 'Launch application at the end of installation and into the field called Application I set a MS Word document with some instruction (just for testing) hoping that MS Word will be launched as the default application for docx files.
I was almost right, I got the button 'Run My App' when I clicked on it, MS Word was launched but no document was opened. (I checked that the document is correctly installed)

Did I miss something, should I provide some arguments, anything else?

Thanks
Pat
PetLahev
Posts: 5
Joined: Tue Jul 28, 2015 9:37 pm

Re: Openning another application from the Finish dialog.

Hi Guys

any idea on this. I think I must miss something. Is there any other way how to launch MS Word with a specific document after user click on the button?
I use Professional license

Thanks
Pat
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Openning another application from the Finish dialog.

Hi Pat and welcome to Advanced Installer forums,

I apologize for my delayed reply. We had two days off here due to a national holiday.

To launch Microsoft Word with a specific document you can use the predefined Launch file custom action and through the command line field you can pass the path to your file. You can also take a look on the below image:
Launch Word with specific document.png
Launch Word with specific document.png (6.03 KiB) Viewed 2665 times
Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PetLahev
Posts: 5
Joined: Tue Jul 28, 2015 9:37 pm

Re: Openning another application from the Finish dialog.

Thanks Dan

I think with the option you mentioned user cannot decide if she wants to run Word or not. It will be always launched at the end of installation, right?
I'd like achieve a functionality where user hits a button ('Run [My app]')
According the link I provided at my first post I think it's possible only for enterprise edition

Pat

Return to “Building Installers”