I've been trying to hookup a progress bar with a down load file command in the MSI Code designer. I'm doing this because what I would like to see in my custom dialog is a progress bar while a large file (or two) is downloading. I'm not sure if it is possible to do, but if so, would you be so kind as to give me an example or provide a link to a solution to solving this problem as i've not been able to find a clear example of how to do this.
Below is the code i've tried to get this to work with:
Code: Select all
~{A59B6E8D-ACB1-4950-83C5-BF6C51F0F94A}~
~Download File~
~{B15E7917-3720-48C2-80E4-4806AF97A6A1}~
~www.mybusinesswebsite.com/DemoDownloads/version01.msi,$DowloadFolder$,DownLoadSuccess,,,TRUE~
~mDown.dll\mDownExec.dll~
~Else~
~{D825C30C-E141-49C0-BF47-EB6FC2266807}~
~Download File~
~{36572F90-D108-419E-A2AB-D83753790A95}~
~www.mybusinesswebsite.com/DemoDownloads/version02.msi,$DowloadFolder$,DownLoadSuccess,,,TRUE~
~mDown.dll\mDownExec.dll~
~If~
~{FA05AA6D-C281-4D2E-A429-4D493D61296D}~
~VersionOptionEnterprise~
~0~
~TRUE~
~FALSE~
~Display Dialog~
~{F5E2E796-1641-43B9-80C4-668B44589035}~
~Progress 01 - File Download~
~~
~FALSE~
~~
~TRUE~
~FALSE~
~Set Variable~
~{A6A12188-B522-4BF2-9CC2-9B5EDEFC810F}~
~DownLoadProgress$MYAH$MYAH$FALSE~
~-1~
~Set Variable~
~{FD8EDD64-6232-469D-AF88-A136A265A0EA}~
~DownLoadSuccess$MYAH$MYAH$FALSE~
~FALSE~
~End~
~{36DD26A8-6AD1-49A3-A56F-F89A5FE7F7EB}~
~Create Folder~
~{44010DFC-EE99-4C0D-B3C3-D7F326E4B040}~
~C:\General\Installer~
~If~
~{987CEA4B-CBAF-490A-8E99-F61EBD33B39B}~
~InstallFolder~
~0~
~FALSE~
~FALSE~
~Does File/Folder Exist~
~{15BE9918-239F-48F5-B408-74877697EB6D}~
~InstallFolder~
~$DowloadFolder$~
~FALSE~
Also, here is a screen shot of the custom Dialog:
I really appreciate any help you can give me.