Hi, all
I am using wix version 3.
My installer needs to create a user first, then create folder. The created user 
will have full control over the installed folder/files.
I try to let the ConfigureUsers run before CreateFolders by adding "<Custom 
Action="ConfigureUsers" Before="CreateFolders"/> to the InstallExecuteSequence 
element. The log showed that the CreateUser indeed run before CreateFolders. 
However, the CreateFolder aborted the installation by saying the user does not 
exist.
-------------------log.txt-------------------
A c t i o n   s t a r t   0 : 3 3 : 2 3 :   C o n f i g u r e U s e r s .
 A c t i o n   0 : 3 3 : 2 3 :   C r e a t e U s e r R o l l b a c k .  
 A c t i o n   s t a r t   0 : 3 3 : 2 3 :   C r e a t e U s e r R o l l b a c 
k .
 C r e a t e U s e r R o l l b a c k :  
 A c t i o n   e n d e d   0 : 3 3 : 2 3 :   C r e a t e U s e r R o l l b a c 
k .   R e t u r n   v a l u e   1 .
 A c t i o n   0 : 3 3 : 2 3 :   C r e a t e U s e r .  
 A c t i o n   s t a r t   0 : 3 3 : 2 3 :   C r e a t e U s e r .
 C r e a t e U s e r :  
 A c t i o n   e n d e d   0 : 3 3 : 2 3 :   C r e a t e U s e r .   R e t u r 
n   v a l u e   1 .
 A c t i o n   e n d e d   0 : 3 3 : 2 3 :   C o n f i g u r e U s e r s .   R 
e t u r n   v a l u e   1 .
 A c t i o n   0 : 3 3 : 2 3 :   C r e a t e F o l d e r s .   C r e a t i n g  
 f o l d e r s
 A c t i o n   s t a r t   0 : 3 3 : 2 3 :   C r e a t e F o l d e r s .
 E r r o r   1 6 0 9 .   A n   e r r o r   o c c u r r e d   w h i l e   a p p 
l y i n g   s e c u r i t y   s e t t i n g s .   b i o a d m i n U s e r   i s 
  n o t   a   v a l i d   u s e r   o r   g r o u p .   T h i s   c o u l d   b 
e   a   p r o b l e m   w i t h   t h e   p a c k a g e ,   o r   a   p r o b l 
e m   c o n n e c t i n g   t o   a   d o m a i n   c o n t r o l l e r   o n   
t h e   n e t w o r k .   C h e c k   y o u r   n e t w o r k   c o n n e c t i 
o n   a n d   c l i c k   R e t r y ,   o r   C a n c e l   t o   e n d   t h e 
  i n s t a l l .   U n a b l e   t o   l o c a t e   t h e   u s e r ' s   S I 
D ,   s y s t e m   e r r o r   1 3 3 2
 M S I   ( s )   ( 5 8 : 9 0 )   [ 0 0 : 3 4 : 1 8 : 5 0 0 ] :  
 A c t i o n   e n d e d   0 : 3 4 : 1 8 :   C r e a t e F o l d e r s .   R e 
t u r n   v a l u e   2 .
 A c t i o n   e n d e d   0 : 3 4 : 1 8 :   I N S T A L L .   R e t u r n   v 
a l u e   2 . 
------------end of install log--------------

Can anyone tell me what is wrong?
Thanks

-jason


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to