Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

INSTALLDIR issue

$
0
0
Hello,

I am creating a new MSI package and ran into this particular problem:

I need to install some files in location: C:\Users\<currentlyloggedinuser>\Documents\Visual Studio 2015\Settings

I don't know what do I need to enter as INSTALLDIR location so that whoever is currently logged into Win7 64bit PC gets files installed in the directory mentioned above. I can not hardcode the path as it differs each time depending who is logged in.

I have tried %USERPROFILE%, [USERPROFILE] and [PersonalFolder], but when I try to install MSI with such location set up I get error that "Error 1606. Could not access network location %USERPROFILE%", can some one help me with this issue please?




EDIT. I found out the issue!

I have InstallShield 2014 Professional installed and when I create new MSI it works absolutely fine, in my case "[PersonalFolder]Visual Studio 2015\Settings" was what I had to enter in "General Information" INSTALLDIR field.

Problem was that I was editing old MSI that was created on some other version of Installshield, probably some trial InstallShield version or smth that had limited functionality. So I re-created MSI from the scratch and used the same INSTALLDIR as before and it works like a charm, no further help needed on this thread.

Viewing all articles
Browse latest Browse all 4553

Trending Articles