Welcome to Symantec Connect.  Log in or register to participate.

Error : 1914: Could not schedule file [2] to replace file [3] on restart. Verify that you have write permissions to file [3].

heavenworld's picture

Hi All,

I have created a transform for vendor MSI. During silent installation, it thorws an error
"Error : 1914: Could not schedule file \\171.XXX.XXX.XXX\sendsuite\TBM1D.tmp to replace file \\171.XXX.XXX.XXX\sendsuite\pbglobal.dll on reboot. Verify that you have write permissions to file \\171.XXX.XXX.XXX\sendsuite\pbglobal.dll.

Below are my few findings :

When I ran the MST with MSI in command prompt i.e MSIEXEC /i TRANSFORMS then it is working fine but it throws an error in silent mode.

Can you please help me to getting this solution.

Thanks in Advance,
Muneer Jahangeer

heavenworld's picture

Windows Installer Error:1914

Please update me soon.. it is very urgent to complete this package and it is useful to others also.

Eshwar's picture

setup.log

Hey,

If possible try to get a verbose log.
Use /l*v switch for verbose logging.
Attach the log file for further reference.

Thanks.,
Eshwar

Sidha's picture

Try This by Editing Custom Action

Hey,
There is a Custom Action (User Interface/Execute Immediate) which is preventing you from using silent switch. On editing it, you will be able to install in silent mode without any error.

Thanks,
Sid

Eshwar's picture

try this

Try the following:

1) Add the property ISSETUPDRIVEN to the command line (or via an MST by editing the property table) and give it a value of 1.

2) In a transform file, add a condition to the "OnCheckSilentInstall" custom action in the InstallExecuteSequence so that it will always resolve to false or remove the custom action from the sequence.

Let me know if you still have the issue.

Thanks,
Eshwar

heavenworld's picture

Bad sequncing of the BaseWKS.mst

Hi All,

I guess problem in sequence

heavenworld's picture

Unable to find out the solution

hi,

Till i'm facing the same issue..can anyone help me to solve this issue.

erikw's picture

Simple solution.

The problem is that the dll is registered.
best option is to unreg the dll with a command line, and then perform the action.
I hope this helps you out.

Regards
Erik
www.DinamiQs.com

Regards
Erik
www.DinamiQs.com
Dinamiqs is the home of VirtualStorm (www.virtualstorm.org)

Sidha's picture

Try....

Try to create Verbose log file Using /L*V while installing .MSI and .MST in silent mode.

Open the log file find out for Error 1914 and look for the associated Custom Action name which is failing to execute.

Let me know the Custom Action name, so that I can assist you.

heavenworld's picture

Verbose Log

Sidha's picture

Analyse the log files

Analyse the log files, and find Error 1914 and the activity associated with this Error (Like name of Custom Action/copying file/registering file......) in the Log file.

Thanks
Sid

heavenworld's picture

Verified Log file

I've analysed the log file before, but i couldn't find why it show this error.

Small update:

During transform creation, some files should be copied from network. I guess problem was created by network. But I couln't guess it whats the real problem?

Sidha's picture

Suggestion

I guess there

may be trying to overwrite the existing files by copying the files from network.

in this case try to set overwrite = True
if you are using VBScript, WiseScript.

may be Permission issue, user may not be authenticate to access the file.

I would like to suggest you is, if possible insted of accessing from network include it in your application itself.

heavenworld's picture

No Vbscript in MST

I've found there is no VBscript related to copying the file from network. I guess MST do the action.

heavenworld's picture

Finally...

Sorry.. I tried in many ways, but not able to catch that problem. SO took setup capture for MSI and completed the package.

Thanks All for your response.