Creating User Before Folders - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

tolo1984
Posts: 34
Joined: Tue Jul 26, 2011 9:47 am

Creating User Before Folders

Hello,

In my project I've created an user in the 'Users and Groups' part. Then in the 'Files and Folders' part I give permissions to tha user in some folders.
The problem appears during the installation because when the installer creates the folders, the user hasn't been already created. Is there any way to create this user before the folders creation without making a custom action?
I think is something logic because if advanced installer lets you give permissions to the files and folders, the ones you create in the 'Users and Group' could be used.

Thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Creating User Before Folders

Hi,

Unfortunately, Windows Installer does not support creating a user and using it to set permissions during the same install process.
A workaround would be to create another install package specially purposed to create the user account. Add this package as a global prerequisite to the main installer.
The prerequisite installs the user, then the main installer installs the folder and sets the permission.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tolo1984
Posts: 34
Joined: Tue Jul 26, 2011 9:47 am

Re: Creating User Before Folders

Thank you Bogdan, for your quick response ( like always )


But that kind of things is just that kind things that we expect you to take care of, in the next Advanced Installer 9.

; )


we look forward just for that. Open the AI, get cool menus,( like now...) with the COMMON AND USUAL ACTIONS that everybody uses to do.

But they work.... Because INTERNALLY and invisible for us, YOU struggle with windows installer and make what is needed, in the way it is needed.
Because YOU ARE THE EXPERTS.

As far.. the engine would put us a message, "we'll make this and that to accomplish... Are you sure?" if necessary.


We call our boses and say, let's continue paying these guys because we really get rid of our heads the COMMON AND USUAL installation issues.
So we can put our heads in our stuff ( medical imaging...)

And everybody is happy.

I still waiting for the the installation engine that really get off my head the COMMON AND USUAL installation issues.

Because... Bogdan... creating a fu....ing user an putting some fu....ing permissions on a folder are...

COMMON AND USUAL INSTALLATION ISSUES.

And i don't understand why do i have to make custom anything. Ww don't pay windows installer guys, we pay advanced installer guys,

AND YOU CAN DO IT.


Hope you read this in a constructive way.
And I finally tell you these things:

1- Im' sure that the cool engine i expect will be ADVANCED INSTALLER
2- Keep up the good work
3- We keep of contact , and thank you for your always quick help and responses.

Return to “Common Problems”