Plug-In Error
Posted: Thu Jul 20, 2006 5:17 am
Still struggling to get permissions sorted on my Win2003 server so another question.
I could not get the CREATE FOLDER option to work correctly. It would create the folder but the two subsequent SET ACCESS commands did nothing even though I put all 3 before the APPLY INSTALL statement. I did this as I wanted the folder to have the rights attached before the files were copied so they inherited the same rights. In this case read only as the we have already worked out that the SET ACCESS for write (incorrectly) gives full control (hopefully fixed in a later version??)
So reading other messages here I thought let's use the CALL DLL function to create the folder:
But when I run on the destination machine the system objects with the error that has been mentioned elsewhere on these forums:
Now the question is - how do I make sure that all required plug-ins are installed? All I did to create the CALL DLL function was to select it from the list in MSICODE view and set the parameters. Am I supposed to do something else? I can't see adding a specific path should help as kernel32.dll is in the WINSYS folder.
Thanks - John
I could not get the CREATE FOLDER option to work correctly. It would create the folder but the two subsequent SET ACCESS commands did nothing even though I put all 3 before the APPLY INSTALL statement. I did this as I wanted the folder to have the rights attached before the files were copied so they inherited the same rights. In this case read only as the we have already worked out that the SET ACCESS for write (incorrectly) gives full control (hopefully fixed in a later version??)
So reading other messages here I thought let's use the CALL DLL function to create the folder:
Code: Select all
~InstallAware Clipboard Data~
~Call DLL Function~
~{FC602A2A-F0CF-4A45-AF12-624A44B2A590}~
~kernel32.dll,CreateDirectoryA,bool,FOLDEROK,"pointer to string",$TARGETDIR$,"double word",0,$~
~~mIDEFunc.dll\\mEXEFunc.dll~~Code: Select all
Unable to load plug-in library. Please rebuild your project and make sure all required plug-ins are installed.
Action skippedThanks - John