Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Wise Custom Action for writing a file.

Updated: 21 May 2010 | 2 comments
Shanushaan's picture
0 0 Votes
Login to vote

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  

Comments

VBScab's picture
10
Sep
2009
0 Votes 0
Login to vote

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.

EdT's picture
10
Sep
2009
0 Votes 0
Login to vote

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.