cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Balaji_Vinu
Level 5

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)
Labels (1)
0 Kudos
(2) Replies
thepeter
Level 7

Why don't you use XML File Changes to build your web.config file during Install?
0 Kudos
Balaji_Vinu
Level 5

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.
0 Kudos