I have a problem and i don´t know how i can solve it, i have to rename an existing file in a directory that a user enter by command line. I don ´t know how i can rename this existing file. Can you help me?

Thanks by advance.
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Well i finally solve the problem, but know i have another problem when i try to uninstall the application.
I solve the problem with a vbscript stored in the costum action where the user create the directory.
Now when i try to uninstall the application, the installer shows me a message:

Error 1720. There is a problem with Windows Installer packege. A script required for this install to complete could not be run. Contact....

When i rename the file, when installer try to uninstall, it doesn´t find the file with the new new. How can i solve this problem??

Thanks in advance.
Answered 02/02/2006 by: carastlin
Senior Yellow Belt

Please log in to comment
You can nest your custom action in an IF statement

IF NOT Installed
Custom Action

This will make sure to only run this custom action when the package is being installed.
Answered 02/06/2006 by: gammann
Yellow Belt

Please log in to comment