Replies: 1 comment
-
When you write an installer, try to avoid dodgey command line hacks. If you want to copy a file, then the questions are:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am try to copy file this don't work
Can anyone help me to get this to work
Regards
Sigster
`
Property Id="WixQuietExecCmdLine" Value='"[System64Folder]cmd.exe /c copy [FolderContents]SHPImport_ZW.dll C:\map\SHPImport_ZW.dll"'/>
`
Action start 13:33:15: Copyfile.
MSI (s) (08:90) [13:33:15:957]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSID884.tmp, Entrypoint: WixQuietExec
MSI (s) (08:18) [13:33:15:957]: Generating random cookie.
MSI (s) (08:18) [13:33:15:963]: Created Custom Action Server with PID 18216 (0x4728).
MSI (s) (08:20) [13:33:15:990]: Running as a service.
MSI (s) (08:20) [13:33:15:993]: Hello, I'm your 32bit Impersonated custom action server.
MSI (s) (08!88) [13:33:15:999]: PROPERTY CHANGE: Deleting WixQuietExecCmdLine property. Its current value is '"[System64Folder]cmd.exe /c copy [FolderContents]SHPImport_ZW.dll C:\kort\SHPImport_ZW.dll"'.
WixQuietExec: Error 0x80070002: Command failed to execute.
WixQuietExec: Error 0x80070002: QuietExec Failed
WixQuietExec: Error 0x80070002: Failed in ExecCommon method
CustomAction Copyfile returned actual error code 1603 but will be translated to success due to continue marking
`
Beta Was this translation helpful? Give feedback.
All reactions