/build/static/layout/Breadcrumb_cap_w.png

Installing Files in the Root of the User Profile

With Wise, if you try to put things in the root of the user-profile, the files will end up in the windows folder. I don't know if there's an an explanation for this but there is at least a solution for it.

Create a directory anywhere in your package to 'dump' the files in.

Click the 'MSI Script' tab and then the 'Execute Immediate' tab.

Just after the 'CostFinalize' line add a 'Set Directory' action.

In the dialog add the following information:

* Custom Action Name: SetPROFILE

* Directory: Browse for the folder you put the files in.

* Directory Value: [%USERPROFILE]

At runtime, the installation resolves the value of the environment variable USERPROFILE. The files you put in the created folder will then be put in the root of the user profile.


Comments

This post is locked

Don't be a Stranger!

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

Sign up! or login

Share

 
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