Target Folder Problem With me

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

Target Folder Problem With me

Post by alfrqan »

hello
I am Facing Problem In Target Folder,I set My target Folder to C:\Sierra\Empire Earth
but when i click Browse while choosing installer Direction lets say i selected folder inside sierra
C:\sierra\Newfolder it will add auto Empire Earth Directory so it will be like this C:\sierra\Newfolder\Empire Earth ,how i can stop adding Empire Earth folder to my selected Direction?
I am noob in Scripting
Image
I found Older post but no one answered it...Any help plz?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Target Folder Problem With me

Post by giaviv »

Is Empire Earth the name of your installer?
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: Target Folder Problem With me

Post by alfrqan »

no,the name of installer is alpha 1.5.exe
but it is added,i dont know why..
alfrqan
Posts: 23
Joined: Tue Sep 06, 2011 10:51 pm

Re: Target Folder Problem With me

Post by alfrqan »

Now i solved it in only the 3 cases of "IF" as the picture but Else Still
Image
so if 1 folder exists and when i click browse it works well and nothing gonna be added to chosen direction but if that all 3 folders not exist so it is gonna read
registery and return the value into TargetDir but when i Click Browse I will get the chosen Direction/Empire Earth
I need to stop adding /empire earth while choosing directions...For ur Information Read Registery is Direction of the game Mostly is like this "Drive:/.../Empire Earth/"..I get the DIrection very well but lets say As user,i found it not the correct Direction so i have to choose the right Direction so i would click browse and choose other folder.when i choose other folder it will add Empire Earth to it..
I hope i Explained good
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Target Folder Problem With me

Post by giaviv »

I am a little confused - what exactly is the problem / what is happening not as expected?
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: Target Folder Problem With me

Post by alfrqan »

giaviv wrote:I am a little confused - what exactly is the problem / what is happening not as expected?
friend,when i choose direction i will get the chosen direction + Empire Earth so it is gonna look like chosen direction/Empire Earth i dont know why the Empire Earth is fixed in any direction,and this happen in case 4 in reading the registery only but in other cases this never heppen!
thanks
waiting ur reply
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Target Folder Problem With me

Post by giaviv »

Okay, what's Empire Earth? What does it mean in the context of your installer / program?
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