/build/static/layout/Breadcrumb_cap_w.png

creating installdir during runtime


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

Answers (7)

Posted by: AngelD 15 years ago
Red Belt
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 ;)
Posted by: kvanand84@hotmail.co 15 years ago
Senior Yellow Belt
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
Posted by: AngelD 15 years ago
Red Belt
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.
Posted by: kvanand84@hotmail.co 15 years ago
Senior Yellow Belt
0
Can you explain in detail ..because i am new to this packaging process....
Posted by: anonymous_9363 15 years ago
Red Belt
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.
Posted by: turbokitty 15 years ago
6th Degree Black Belt
0
<golf clap>

I'm impressed by AngelD's answer. That was clever.
Posted by: kvanand84@hotmail.co 15 years ago
Senior Yellow Belt
0
Thank you .....it work's fine with appsearch and writing the new INSTALLDIR value to the registry
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ