cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cornel_gav
Level 5

Uninstall problem

At uninstall I need the USERPROFILE directory. I get this with MsiGetProperty function. The problem is that the function returns "D:\" instead of the "C:\Documents and Settings\User_name".

I made a test project and it worked.

What seems to b the problem?

Thanks
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

What does your code look like? Where are you calling it?

In any case, the USERPROFILE property is created by InstallShield by reading the USERPROFILE environment variable (see the setUserProfileNT custom action); does reading the environment variable directly make any difference?
0 Kudos