WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > $profile
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Dommels
Junior Member

Registered: Nov 2009
From:

Unhappy $profile

Hello,

I'm trying to write some files in the windir %userprofile%.
So I use the $PROFILE variable and my little program seems to work when I install it locally. Every file is indeed in the %userprofile% directory.

BUT ... when I push the program via CA DSM (over the network) then I find the files I want to copy in the c:\windows\system32\systemprofile directory instead of the %userprofile% directory.

Did anyone had the same problem and if so, how to resolve it ?

Thanks !

Quick Link | Report this post to a moderator | IP: Logged

Dommels is offline Old Post 11-24-2009 04:12 PM
Click Here to See the Profile for Dommels Click here to Send Dommels a Private Message Find more posts by Dommels Add Dommels to your buddy list Edit/Delete Message Reply w/Quote
Zinthose
Member

Registered: May 2009
From:

You need to have it execute in the users context or by checking the logged on sessions to determine were to place the files. There are a number of ways to do this. We use Altiris for out deployments so it's a simple check box to run a program as the user.

__________________
Regards ^_^

Search the Forums and the Wiki

Quick Link | Report this post to a moderator | IP: Logged

Zinthose is offline Old Post 11-24-2009 04:37 PM
Click Here to See the Profile for Zinthose Click here to Send Zinthose a Private Message Find more posts by Zinthose Add Zinthose to your buddy list Edit/Delete Message Reply w/Quote
Dommels
Junior Member

Registered: Nov 2009
From:

I have a checkbox, but only when I create MSI installers. When it's an EXE file, no checkbox is available...

Other suggestions ? I can write a vb script that does the same and then deploy it via GPO but that's not really what I want.

Thanks

Quick Link | Report this post to a moderator | IP: Logged

Dommels is offline Old Post 11-25-2009 12:46 PM
Click Here to See the Profile for Dommels Click here to Send Dommels a Private Message Find more posts by Dommels Add Dommels to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 09:28 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > $profile
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON