Questions tagged [allusersprofile]

12 questions
6
votes
2 answers

Inno Setup - allowing user to choose "just me" or "anyone using this computer"

Some installers I come across give me the choice of installing the app "just for me" or "for "anyone who uses this computer". How can I get my Inno Setup script to present the user with this choice, so that I can then change what the installer does…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
3
votes
3 answers

Location of %allusersprofile% folder in Windows Vista?

What is the exact path to %allusersprofile% folder in Windows Vista? On some systems, I have seen the folder as 'c:\Users\All Users', on some it is mapped to 'C:\ProgramData', while on others it has been mapped to 'C:\Users\Public'. If you can…
sangupta
  • 2,396
  • 3
  • 23
  • 37
3
votes
1 answer

Inno Setup - Finding out what install options were used for an application - from the application

I have an Inno Setup installer for an app that offers the user a choice between "Install for all users" and "Install just for me". If it is installed for all users, the INI file is placed in commonappdata and the settings are shared (this is a…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
3
votes
2 answers

Per-Machine install problem with User Profile

When building my WXS data into an MSI I get the following error: ICE38: Component CreateFolder installs to user profile. It must use a registry key under HKCU as its KeyPath, not a file. This is confusing me cause I have my project set to be a…
Christopher B. Adkins
  • 3,499
  • 2
  • 26
  • 29
3
votes
1 answer

Detecting if the user selected "All Users" or "Just Me" in a Custom Action

I'm trying to detect if the user has selected the "All Users" or the "Just Me" radio during the install of my program. I have a custom action setup that overrides several methods (OnCommit, OnBeforeInstall, etc.). Right now I'm trying to find out…
Ben
  • 7,692
  • 15
  • 49
  • 64
1
vote
1 answer

Windows common folder

Does the env. variable ALLUSERSPROFILE and the function SHGetSpecialFolderPath(0, path, CSIDL_COMMON_APPDATA, FALSE) Will always lead to the same path (in all Windows versions)? I need this because our installer uses the env. variable and in our…
kambi
  • 3,291
  • 10
  • 37
  • 58
1
vote
1 answer

Delete a common folder from all users local AppData

Is there a variable for all users in Windows 7 / 8? For example, let's say every user on the PC has a specific folder on their desktop, and I'd like to delete all these folders at once via a command that can be executed through command prompt, is…
ShadowSF96
  • 65
  • 2
  • 2
  • 10
0
votes
0 answers

Deleting "All Users" shortcut for the current user in C#

I have the following piece of C# .NET 4 code that lists out files that are part of the "All Users" desktop that are displayed on the current users desktop: foreach (String desktopFilePath in…
jzacharuk
  • 2,058
  • 1
  • 16
  • 22
0
votes
1 answer

ALLUSERSPROFILE OF the HOST SQL Server?

I need to write a SQL Server 2008R2 compatible script to create a share. The script will be executed from inside VB6 code but I am pretty sure that's a moot point here. The following is PSEUDOCODE at the end CREATE PROCEDURE…
0
votes
1 answer

PHP telegram bot: send message all users from in id.txt

I created a php telegram boat. In this case, I will store the user id in the id.txt file. $message = $update->message; $text1 = $message->text; $fadmin = $message->from->id; $baza = file_get_contents("id.txt"); $saqla2 =…
0
votes
3 answers

angular 2 with auth0 to read all user- error Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin'

Able read a user profile and can update user meta data from Auth0 in my angular 2 application.Like this this.lock.getProfile(authResult.idToken, (error, profile) => { if (error) { // Handle error alert(error); …
Manu
  • 1,243
  • 5
  • 17
  • 43
0
votes
2 answers

Copy file from script directory to All Users' desktop

I've written the script below but when I run it (using PrimalScript for troubleshooting) I get the error 'Permission denied'. I'm admin on this device and I get the same error when I run the script elevated. Here is the script: Dim WshShell,…