Need help in audio playback - Advanced Installer Community

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!

Ronburi
Posts: 2
Joined: Wed Feb 09, 2011 9:38 am

Need help in audio playback

Hi, I'm new with this and I want to ask about audio playback during install progress-bar.
I've already read the guide, and I'm still having trouble with this step:
- under InstallUISequence -> WelcomeDlg add a Play Audio File custom action
In the WelcomeDlg, I can't choose "Add predefined UI Custom Action" where the Playaudio option is available.
Is there something wrong in my step? Thank you.
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Need help in audio playback

Hello and welcome to Advanced Installer Forum,

I just checked this and indeed there seems to be a problem in Advanced Installer. Thank you for bringing this to our attention. A fix will be released in a future version to address this issue.

Until then you can use this workaround:

- Go to Custom Actions Page and select InstallUISequence.
- From the context menu select "Display Standard Action -> Begin" and "Display Standard Action -> WelcomeDlg"
- Select "Begin" standard action and from the context menu select "Add Predefined UI Custom Action -> Play Audio File"
- Drag & Drop the Custom Action on "WelcomeDlg" to schedule it after this dialog is displayed.

Hope this helps. If you have any other questions, please don't hesitate to contact us.

Best regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ronburi
Posts: 2
Joined: Wed Feb 09, 2011 9:38 am

Re: Need help in audio playback

I didn't realize that I'm encountering bug, glad I could help you find it, well, accidentally. :D
As for your recommendation, there are something that I want to ask.
1. Is it still necessary to use method temporary file with property field AI_AUDIOFILE_PATH. (in the Guide, before "go to the Custom Actions page")
2. In the "Add Predefined UI Custom Action -> Play Audio File". In the "Source Path", should I put the location of the audio file?
3. I still don't understand with "Drag & Drop the Custom Action on "WelcomeDlg" to schedule it after this dialog is displayed." Should I drag "PlayAudioFile" from the "Begin?"
Thank you for the help, and please forgive me for my lack of understanding. I'm usually using Inno Setup(basic not pro), but can't figured out how to put Image Slideshow and Background music in there.
octavian.vasilovici
Posts: 51
Joined: Tue Jan 25, 2011 2:43 pm

Re: Need help in audio playback

Hello,

I will answer all your question as detailed as I can:

1. Yes it is still necessary the "AI_AUDIOFILE_PATH" property. This property holds the path to the actual file location and therefor is mandatory.
2. No. The "Source Path" should remain untouched. The Custom Action will automatically look and play the file with the path stored in "AI_AUDIOFILE_PATH" property. In the Custom Action's Property Page, nothing must be modified. All settings should remain as they are when the custom action was created.
3. Yes, you should drag the "PlayAudioFile" Custom action from "Begin" and schedule it after "WelcomeDlg". I also included a screenshot to better explain this.
Play_Audio_File.JPG
Play_Audio_File.JPG (41.29 KiB) Viewed 4697 times
Hope this helps. If you have any other questions, please don't hesitate to contact us.

Best Regards,
Octavian
_______________________________________________________________________________________________________________________________________________
Octavian Vasilovici
Advanced Installer Team
http://www.advancedinstaller.com/
Octavian Vasilovici - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”