user rights after installing files

Got a problem you cannot solve? Try here.
npf
Posts: 15
Joined: Mon Jul 04, 2011 2:41 am
Location: Austria

user rights after installing files

Postby npf » Tue Apr 21, 2015 9:57 am

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: user rights after installing files

Postby FrancescoT » Tue Apr 21, 2015 12:32 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

npf
Posts: 15
Joined: Mon Jul 04, 2011 2:41 am
Location: Austria

Re: user rights after installing files

Postby npf » Tue Apr 21, 2015 2:20 pm

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: user rights after installing files

Postby FrancescoT » Wed Apr 22, 2015 1:27 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

npf
Posts: 15
Joined: Mon Jul 04, 2011 2:41 am
Location: Austria

Re: user rights after installing files

Postby npf » Wed Apr 22, 2015 3:26 pm

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: user rights after installing files

Postby FrancescoT » Thu Apr 23, 2015 12:58 pm

Dear Norbert,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

npf
Posts: 15
Joined: Mon Jul 04, 2011 2:41 am
Location: Austria

Re: user rights after installing files

Postby npf » Fri Apr 24, 2015 8:09 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: user rights after installing files

Postby FrancescoT » Fri Apr 24, 2015 12:58 pm

Dear Norbert,

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

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

npf
Posts: 15
Joined: Mon Jul 04, 2011 2:41 am
Location: Austria

Re: user rights after installing files

Postby npf » Sat Jul 25, 2015 8:50 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: user rights after installing files

Postby FrancescoT » Mon Jul 27, 2015 1:20 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

npf
Posts: 15
Joined: Mon Jul 04, 2011 2:41 am
Location: Austria

Re: user rights after installing files

Postby npf » Mon Jul 27, 2015 1:57 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 97 guests