File Installing at Profiles Directory Problem

I want to install a xml file under directory c:\Documents and Settings\<Username>\Config
but it getting installed at c:\WINNT\Config. I have created folder structure "Windows\Profiles\Config" in my MSI package, but Profiles folder is getting resolves to location c:\WINNT.
And i want to achive this windows installer package DB without using CustomAction(VB Script,Wise Script)
Please suggest me?
Is it possible

0 Comments   [ + ] Show comments

Answers (5)

Posted by: mekaywe 13 years ago
Brown Belt
I think you are installing using System Context... so use Active Setup
Posted by: shreedhar.ghare 13 years ago
Senior Yellow Belt
Posted by: shreedhar.ghare 13 years ago
Senior Yellow Belt
i am not getting your solution about active setup
files getting installed but not at location c:\Documents and Settings\<Username>\Config\confil.xml
package resolves ProfilesFolder ->c:\WINNT and files are getting installed to c:\WINNT\Config\confil.xml
Posted by: rakesh.kumar 13 years ago
Senior Yellow Belt
If i am correct You are using Wise package studio, use the Set Directory custom action and set ProfileFolder to %USERPROFILE%\Config and place after CostFinalize action
Posted by: anonymous_9363 13 years ago
Red Belt
That's a kludge that will need to be rippled out with every package. If the OP *is* using WPS, it's easier to change the Windows Application template. I snatched a set of 3 Custom Action which appear in most InstallShield-authored MSIs which set properties for The 'All Users' and 'User' profiles and popped them into the template. I think if you search AppDeploy for 'SetAllUsers', you'll turn up a step-by-step walk-through I posted ages ago.

Also, remember that user-level stuff will need to be in a feature which is a child of another feature which has an advertised entry-point, such as a shortcut. This ensures that healing/self-repair takes care of the user-specific install part(s). If your package doesn't have any advertised entry-points, then you need to use Active Setup (AS). For details on AS, use Google.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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