cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Korben_Dallas
Level 4

Renaming a file

Hi,

I'm building a basic MSI setup and my app needs to rename an existing file in SYSTEM32 before installing.
After uninstall it needs to rename the file back to its original name.

Is there any way I can do this? I have no coding skills... If I can do this with Installshield please let me know.

If not, should I go for a custom action + vbs or custom action + Installscript?

Thanks
Labels (1)
0 Kudos
(3) Replies
ChandanOmkar
Level 8

You have to use installscript. you can use RenameFile() function.
0 Kudos
Korben_Dallas
Level 4

I don't even have an installscript manual... 😞

I'll try to look for that function in HELP / Google.

Thanks

PS: Also found that "You can also rename a file when you call CopyFile."
0 Kudos
Not applicable

dude help me .. i want to make the same thing.. please how you do that???
0 Kudos