Folder share - Advanced Installer Community
scorpio92
Posts: 8
Joined: Mon Jun 25, 2012 7:25 am

Folder share

Hi,

1 - I have a problem with folder share
If the share is already make on destination computer, the package make error ("Share folder already exist...."), and package stop.
There is a solution for force share to rewrite on destination computer ?

2 - It's possible, in the same package, to add new user and add permission on folder or folder share ?
I have try, but, when I run package, I have message who told me that the user dont exist....so, can't write permission
The permission are added before add users ?
It's possible to sequence this:
1 - Add users
2 - Add folder or folder share permission

Regards
Scorpio92
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Folder share

Hi,

I have tested both your scenarios, but everything worked well to me. Can you please tell us the version of Advanced Installer and the Operating System you have on your machine and also a step by step test case scenario so we can try to reproduce and investigate the problem?
It's possible to sequence this:
1 - Add users
2 - Add folder or folder share permission
Yes, this is the default behavior. The user are created first, and after that the folders are created and the share permissions are added.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
scorpio92
Posts: 8
Joined: Mon Jun 25, 2012 7:25 am

Re: Folder share

Hi,
I have try new one today, and, same trouble.
New package with only 2 new users and 2 or 3 shares and permissions on it.
I have version 10.3.

Error message:
"An error occured while applying security settings. Citsuser (My new user) is not a valid user or group......... :cry:

I send you my project in attachment and message

Regards

Scorpio92
Attachments
Error message
Error message
Capture.JPG (24.24 KiB) Viewed 5489 times
Addusers_and_Shares.aip
Addusers
(18.36 KiB) Downloaded 883 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Folder share

Hi,

Indeed, this seems to be an Advanced Installer limitation, sorry for the inconvenience.

As a workaround, you can create a simple MSI package that creates the users and add it as a "Pre-install" or "Feature-based" prerequisite in the package that sets the users permissions. In this case, when the prerequisite is installed, the users are created and when the main package is installed, the users already exist and the permissions can be set.

You can also set command lines for your prerequisite (i.e. /qn to install it in silent mode) in the Setup Files tab.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
scorpio92
Posts: 8
Joined: Mon Jun 25, 2012 7:25 am

Re: Folder share

Hi

Thanks for your answer.

But:
As a workaround, you can create a simple MSI package that creates the users and add it as a "Pre-install" or "Feature-based" prerequisite in the package that sets the users permissions
do not do it the other way:
One package with permission and inside, pre_install or Feature-based "add_users" ?
No ?

Regards
Scorpio92
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Folder share

Hi,

Unfortunately, I can't find another workaround for the moment, do you mean that the one mentioned above is not suitable for you?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”