Install New Files During Unistall

Got a problem you cannot solve? Try here.
Post Reply
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Install New Files During Unistall

Post by alfrqan »

hello :oops:
Is it Possible To Install New files During Uninstall?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Install New Files During Unistall

Post by giaviv »

Hi,

It is possible, but you would have to call Apply Install again after the Apply Uninstall (unless the native engine is being used, but even in that case, you have to install your files after calling uninstall).
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Re: Install New Files During Unistall

Post by alfrqan »

excuse me can u explain more?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Install New Files During Unistall

Post by giaviv »

Of course - basically, in our installers, all changes are applied by calling the Apply Changes commands (Apply Install, Apply Uninstall and so forth).
When you use Apply Uninstall, the installer will roll back everything that happened in the Apply Install call.
Therefore, you would want to install the file after the call to Apply Uninstall. Does that make more sense?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Re: Install New Files During Unistall

Post by alfrqan »

yes thnx i got it:D
so i have to call again apply install after apply unistall :D
thank you Sir
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Install New Files During Unistall

Post by bokkie »

alfrqan,

Are you using IA 11 or 12? If so you can switch to native engine mode and then you can do anything you want without using apply install etc. If you're using earlier versions you'll have to do what Aviv suggests.

One other thing, I can't remember if native mode was in version 10 as I no longer have it installed. I will be quiet now in case I mislead you further. :)
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Re: Install New Files During Unistall

Post by alfrqan »

thank you guys...
I am downloading 11 version now :D
thanks
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Re: Install New Files During Unistall

Post by alfrqan »

i am using 12 now but i can not get installing files during installation,i tried calling apply install in if condition if var remove equals true apply install get result into success
install file.... apply unistall get result into var success
but i can not get it work..
can u help me plz?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Install New Files During Unistall

Post by giaviv »

Make sure that you call Apply Install AFTER calling Apply Uninstall - is that what you are doing?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply