Install and uninstall progress bar

Got a problem you cannot solve? Try here.
Post Reply
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Install and uninstall progress bar

Post by kishorkk23 »

Hi all,
I am just newbie to install aware. I have created a success full installer. My only problem is the movie.swf file which I have added during the progress of installation.
This works perfectly when I install but when I uninstall the movie.swf it gets popped up.

I do not want the movie.swf to run during the uninstallation.
Has anyone faced such issues?
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Install and uninstall progress bar

Post by alibaba »

Make the flash control invisible if REMOVE=TRUE.
Attachments
ia.invisible.PNG
ia.invisible.PNG (109.12 KiB) Viewed 13891 times
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Install and uninstall progress bar

Post by kishorkk23 »

Thanks for the reply. I could able to solve the issue.
But now the concern is the form size. The form size is quite big for the un-installation. I tried the various option of autosize available - bt doesn help !
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Install and uninstall progress bar

Post by alibaba »

Just create a new dialog and set AutoSize=False and then edit height and Width parameters.
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Install and uninstall progress bar

Post by kishorkk23 »

Hi, I created a new dialog, but how to integrate it during un-installation. It still shows the old dialog. As install aware uses the same dialog for install and uninstall ..!!!
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Install and uninstall progress bar

Post by alibaba »

Yes it is correct to use the same dialog, only the text controls and other controls should be shown/hide depending on REMOVE=TRUE or not.
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Install and uninstall progress bar

Post by kishorkk23 »

Well I gave the option of False for the uninstallation. But that will show some white image at that part during un-installation. Some how I am not able to re-size during un-installation.

Thanks in advance
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Install and uninstall progress bar

Post by alibaba »

Did you hide the Remove Label? Maybe move it somewhere to the middle. I am not sure if I understood right, pls make a screenshot to illustrate the problem.
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Install and uninstall progress bar

Post by kishorkk23 »

Well my actual problem is the un-installation.

during installation I play the movie,swf during progress. But I want only the movie.swf to be played during installation, but that also shows the form :( . I want to get rid of the form.

BUT during un-installation, I have made the movie.swf=FALSE, so it will not run the movie.swf , BUT it will still show the big FORM, which runs during installation.

So actual concern is the form, which should not be displayed during un-installation. If displayed , how do it re-size the form only for un-installation?
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Install and uninstall progress bar

Post by alibaba »

Ah okay now I understand. I think resizing the whole form (depending on a property) is not possible. You will have to display different dialogs for installation/uninstallation.
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Install and uninstall progress bar

Post by kishorkk23 »

hmmm... so how do I direct it to diff dialog while uninstallation???
1)Create new dialog
2) set property of un-install

I am still concerned how to add a new dialog to yr project with the name progress?
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Install and uninstall progress bar

Post by alibaba »

mmh you could add a condition in the display dialog command If Variable REMOVE=TRUE or FALSE

or do something like that:

Code: Select all

if Variable REMOVE Equals TRUE
  Comment: display uninstall progress dialog
  Display Dialog: , wait for dialog to return (modal)
  else
  Comment: display install progress dialog
  Display Dialog: , wait for dialog to return (modal)
end
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Install and uninstall progress bar

Post by FrancescoT »

Dear Users,

Alibaba is absolutely right!

Doing this should works fine.

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
kishorkk23
Posts: 73
Joined: Fri Feb 17, 2012 12:19 am

Re: Install and uninstall progress bar

Post by kishorkk23 »

Thank you alibaba and FranceScot
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Install and uninstall progress bar

Post by FrancescoT »

:D
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
Post Reply