hi,

I have package which is already installed in the system ("dependency application ") C:\Program Files\xerox\Xerox_Express_02

It may also have Xerox_Express_04,Xerox_Express_05,Xerox_Express_06 and Xerox Express_ 07 varies for different machines..

My issue is
i have to package which has an INSTALLDIR "C:\Program Files\Xerox\Xerox_Express_04"
has to be replaces in an location "C:\Program Files\Xerox\Xerox_Express_02" it should not create two different directory i.e.Xerox_Express_02,Xerox_Express_04.


Ie the current installation directory of my application should be changed to the existing Installation directory

Please let me know how to proceed for this.




0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Vb script is required i.e initially comparing the folder name and creating the path of the installdir and passing it to the msi to install.
or
By system search locating the destination folder and overriting the path on the folder name(Installdir)
or
writing a script to overrite the existing installdir
Answered 02/05/2009 by: kvanand84@hotmail.co
Senior Yellow Belt

Please log in to comment
0
Please post to the correct forum (Package Development) as it seems you're not using the AppDeploy Repackager.

In Immediate sequence you could run a script to load the msi with the corresponding ProductCode (already installed version).
Get the installed ComponentPath for a component installed to the INSTALLDIR directory and re-use that value to set INSTALLDIR in your "new" version.
Answered 02/05/2009 by: AngelD
Red Belt

Please log in to comment
0
Can you explain in detail ..because i am new to this packaging process....
Answered 02/05/2009 by: kvanand84@hotmail.co
Senior Yellow Belt

Please log in to comment
0
Can you explain in detail ..because i am new to this packaging process....Welcome to packaging.

This forum is no place for a full-blown tutorial. If you're that new, I'm sure your employer will be more than willing to stump up for a training course. If that's out of the question, you would do best to thoroughly research Windows Installer technology. Start at MSDN, sprinkle in some Juice (a forum/blog run at Altiris) and obviously some AppDeploy.
Answered 02/06/2009 by: VBScab
Red Belt

Please log in to comment
0
<golf clap>

I'm impressed by AngelD's answer. That was clever.
Answered 02/06/2009 by: turbokitty
Sixth Degree Black Belt

Please log in to comment
1
Thanks TK,

Maybe I should have tipped regarding writing the new INSTALLDIR value to the registry and use AppSearch to re-read it back during a repair/update ;)
Answered 02/06/2009 by: AngelD
Red Belt

Please log in to comment
0
Thank you .....it work's fine with appsearch and writing the new INSTALLDIR value to the registry
Answered 02/11/2009 by: kvanand84@hotmail.co
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity