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
- :
- Rename and Delete files.
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
‎Oct 30, 2008
03:48 AM
Rename and Delete files.
Hi Folks,
I am using IS 2009 and working on BASIC MSI project.
According to the value selected by the end user in the combo box during installation.The file should renamed and deleted.
For eg..
In Application Files i have added different config files like web.config_ITEM1 , web.config_ITEM2, etc.... .
If user selects ITEM1 in the combo box during the installation process, web.config_ITEM1 should be renamed as web.config and other files like web.config_ITEM2 should be deleted.
And then only application files should be dropped into the end user system.
There is any help topic that i can look into so that i can work on the above scenario. i.e(Rename and Delete files during Installation process)
I am using IS 2009 and working on BASIC MSI project.
According to the value selected by the end user in the combo box during installation.The file should renamed and deleted.
For eg..
In Application Files i have added different config files like web.config_ITEM1 , web.config_ITEM2, etc.... .
If user selects ITEM1 in the combo box during the installation process, web.config_ITEM1 should be renamed as web.config and other files like web.config_ITEM2 should be deleted.
And then only application files should be dropped into the end user system.
There is any help topic that i can look into so that i can work on the above scenario. i.e(Rename and Delete files during Installation process)
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 30, 2008
09:56 AM
Why don't you use XML File Changes to build your web.config file during Install?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 31, 2008
01:01 AM
Peter,
We have already generated the web.config files for different item through java code and these web.config_ITEM1 , web.config_ITEM2 are added to the application files.
So according to user selection of ITEM1 in the dropdown the web.config_ITEM1 needs to renamed to web.config and other web.config_ITEM2.. etc needs to be deleted during the runtime.
And anyway i will try the option of XML file changes suggested by you.
We have already generated the web.config files for different item through java code and these web.config_ITEM1 , web.config_ITEM2 are added to the application files.
So according to user selection of ITEM1 in the dropdown the web.config_ITEM1 needs to renamed to web.config and other web.config_ITEM2.. etc needs to be deleted during the runtime.
And anyway i will try the option of XML file changes suggested by you.