Page 1 of 1
Install New Files During Unistall
Posted: Thu Sep 08, 2011 1:14 am
by alfrqan
hello
Is it Possible To Install New files During Uninstall?
Re: Install New Files During Unistall
Posted: Thu Sep 08, 2011 12:12 pm
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).
Re: Install New Files During Unistall
Posted: Thu Sep 08, 2011 3:00 pm
by alfrqan
excuse me can u explain more?
Re: Install New Files During Unistall
Posted: Fri Sep 09, 2011 8:40 am
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?
Re: Install New Files During Unistall
Posted: Fri Sep 09, 2011 3:24 pm
by alfrqan
yes thnx i got it:D
so i have to call again apply install after apply unistall

thank you Sir
Re: Install New Files During Unistall
Posted: Sat Sep 10, 2011 1:08 am
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.

Re: Install New Files During Unistall
Posted: Sat Sep 10, 2011 1:34 am
by alfrqan
thank you guys...
I am downloading 11 version now

thanks
Re: Install New Files During Unistall
Posted: Mon Sep 12, 2011 11:42 am
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?
Re: Install New Files During Unistall
Posted: Tue Sep 13, 2011 3:55 pm
by giaviv
Make sure that you call Apply Install AFTER calling Apply Uninstall - is that what you are doing?