Wise Custom Action for writing a file.
Updated: 21 May 2010 | 2 comments
Hi,
I am making an installer through WISE, which gets some input from user through UI and write that input to a batch file in the end. the batch file is used to launch the application.
For writing I am using VBScript for writing the file .
The problem is that the VBscript is failing to write the batch file if the user is a standard user(& not the administrator), in Windows Vista and Windows Server 2008 boxes.
Any Workarunds?
Regards
Rohit
discussion Filed Under:
Comments
Yes
Standard users installing software? On a server?!?
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
More information required
You cannot install MSI based software unless you are an admin or admin-equivalent user. Apart from the issues you have already experienced (which you could solve by writing the batch file to somewhere where the user does have write access - eg: their MyDocuments folder), an MSI install needs to record its installation data to the registry, in an area where standard users have read permissions only.
Vista and later operating systems also have more sophisticated security protection to block the generation of executable scripts, and this may also be causing your problems.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.