I'm About to Give Up on InnoScript - Part 2

Started by Randem, December 22, 2007, 10:34:58 AM

Previous topic - Next topic

Tom Buggy

I did that as Administrator.  When I logged on to the other account I created I was UNABLE to create the file in either All Users or Application Data - Permission Denied.

Randem

Are you in as Limited User or Admin? If you can create/modify then something else is awry...

Tom Buggy

I was able to highlight/File/New/Text Document and have the file placed in both All Users and Application Data.  I was also able to open the document, add info to it and save it.

Tom Buggy

It's now 2 AM here and I have 10 inches of snow to remove later this morning (be happy you're in Hawaii).  If you come up with something please post it and I'll check it out later today.  In the meantime I'm going to bed.

Randem

Did you highlight the folder and click on New?

Tom Buggy

Right-clicking doesn't show me anything about creating a text file - ?

Randem

Ok, wrong area was thinking registry. What you do is to go to the Application Data folder then right click and create a new text document. It should work. Do the same for All Users and it should fail.

Tom Buggy

I don't see anything about Permissions from the Advanced button, just stuff about archiving, indexing and compression.  If I right-click on All Users and select Security and Sharing from the presented menu, what I see is only about this computer and network sharing.

Randem

Yes App and data in same folder works fine as long as you are not a Limited User...

Randem

You can't look just at the properties screen, you need to go into advanced and look at the permissions.

Tom Buggy

Not to get you excited, but I just installed on my XP test machine the PDW-generated Setup that I did before starting to use Inno -- App and Data in same Program FilesAppName folder -- and everything runs great.  I know - I'm asking for trouble if I go that route!

Tom Buggy

On my XP development machine I was the only user and I'm the Administrator.  I just created another account as a Limited User.  Under that account All Users and Application Data are both Read Only.

Randem

No, that is not the case at all. All folder under a folder do not inherit the parents permissions, they can have permissions of their own.
 
Log in as another user and check the permission of the folder All Users and then Application Data under All Users and report what you find.

Tom Buggy

All users share the same data files.
 
What you tested seems strange to me.  If C:Documents and SettingsAll Users is Read Only, it would seem that all folders under that would be the same.  In my case all the folders under Documents and Settings, including th GHMDATA subfolder that Inno Setup added via {commonappdata}GHMDATA with Permissions: Modify, are Read Only.

Randem

I just tested in a limited users account and C:Documents and SettingsAll UsersApplication Data is Read/Write but C:Documents and SettingsAll Users is Read Only.  
 
Do all users share the same data files or does each user have a copy of their own?