Thanks, that worked fine..
But i have another scripting problem, that seems to be installer related:
Im using this line to remove the folder i got back from installer:
But i always get a Path not Found error.
Im trying to remove it during the InstallFinalize Action.
I tried to output filespec and it is set correctly.
When I watch with the filemonitor I can that the installer opens and closes the folder successfully, but i get the Path no Found error....
The i thought maybe the installer locks the folder, but if i use a similar script (with a hardcoded path) which i start by my self during the InstallFinalize (that means, not as a custom action) it deletes the folder successfully...
Then I thought it would be maybe a permission problem, and tried to run a script as a user who has not the correct permissions, but then i get an Access denied error - the same is if i lock the folder by opening a file in it, and then trying to delete it.
Well.. hopefully you can help me - wasn't able to find any solution..
*edit*
forgot the mention the following:
If I try to create a folder using the path i get from the installer, it says that the file allready exists... So it says first i cant create it because it exists, and the i cant delete it because it doesnt exists..
And the funny part is that the filemon says the installer knows that it DOES exist
I hate it when software is lying to me
