Page 1 of 1

user rights after installing files

Posted: Tue Apr 21, 2015 9:57 am
by npf
with Installaware X2 after copying news files I have (sometimes, mostly on single use workstations) a problem with User rights.
Only the administrator has full controll, not "everyone". With Installaware 18 I never had this Problem .
Is there any change between this two Versions X2 and 18?

Re: user rights after installing files

Posted: Tue Apr 21, 2015 12:32 pm
by FrancescoT
Dear User,

honestly it's quite strange what you are reporting, because we never set such permissions "programmatically".
Consequently, we haven't introduced any change in IA X2.

Regards

Re: user rights after installing files

Posted: Tue Apr 21, 2015 2:20 pm
by npf
Dear Francesco,

doing some tests I found out:
Installaware is creating a Folder und copying some files in it (User account controll: Always elevate)
(1) Starting the application with Administrator rights everything is ok
(2) Starting normaly (the user has administrator rights) files are blocked for changing
(3) next step: copying the created folder to "folder - copy", deleting the folder and renaming back the copy
(4) Starting normaly everything ist ok

Update:
(5) Installing with "User account controll: Never Elevate" copying is ok (this way is not possible because of editing the registry)

This happens on Windows 7 as well 8.1
Using the same InstallAware-script it does not happen on Version 18 - only on Version 19.08

regards Norbert

Re: user rights after installing files

Posted: Wed Apr 22, 2015 1:27 pm
by FrancescoT
Dear Norbert,

honestly what you are reporting it's the expected behavior due UAC.

Let me see if there is any difference using a previous IA version.

Regards

Re: user rights after installing files

Posted: Wed Apr 22, 2015 3:26 pm
by npf
Dear Francesco,

maybe it's an expected behavior, but I am working with IA since version 11 with almost identical scripts and never had this problem.
I have to copy sequential files (in admin mode) during the Installation which have to have full rights by the users afterwards.

Yesterday I reinstalled Version 18 and everything works again like ever.

Regards, Norbert

Re: user rights after installing files

Posted: Thu Apr 23, 2015 12:58 pm
by FrancescoT
Dear Norbert,

are you able to send me a very minimal project that replicates the issue?

Regards

Re: user rights after installing files

Posted: Fri Apr 24, 2015 8:09 am
by npf
Dear Francesco,

in a easy way, it is not possible. If it is absolutely necessary, please let me know and tell me an e-mail-address where I can send it.

Regards
Norbert

Re: user rights after installing files

Posted: Fri Apr 24, 2015 12:58 pm
by FrancescoT
Dear Norbert,

are you able to replicate the issue using a new project from scratch that just install a dummy file somewhere?

Regards

Re: user rights after installing files

Posted: Sat Jul 25, 2015 8:50 am
by npf
Dear Francesco,

sorry that I did not report as long, but after stepping back zu Version 18 I didn't find time to do any tests.
Remember: with Installaware X2 after copying news files I have a problem with User rights. Only the administrator has full controll, not "everyone". With Installaware 18 and before I never had this problem.

I'm not quite sure, but I believe that I can solve the problem by adding to the script "Set Access Control"
"Set Read Write Permissions on File System Object "$TARGETDIR$\xxx" for Everyone Current User Authenticated Users"
What do you think about it?
(By the way: "Grant everyone Total Control" locks the folder. Why?)

regards Norbert

Re: user rights after installing files

Posted: Mon Jul 27, 2015 1:20 pm
by FrancescoT
Dear Norbert,

in all honesty, I have not done any other verification from that date.

Anyway, you can even grant permission to such folder.

BTW, which IA X2 version are you using?
I suggest you to update to the latest available (if not already). Requires a re-generated license file.

Regards

Re: user rights after installing files

Posted: Mon Jul 27, 2015 1:57 pm
by npf
Dear Francesco,
I have not expected that you make any verifications. I told you, I did not have time for further testing.
I have installed the latest version X2 (19.08).

regards Norbert