This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Renaming a file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2009
05:33 PM
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
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
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 20, 2009
11:21 PM
You have to use installscript. you can use RenameFile() function.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2009
06:17 AM
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."
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."
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 04, 2009
02:40 PM
dude help me .. i want to make the same thing.. please how you do that???
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)