palanisamy
Flexera beginner

InstallScriptMSI project Text File Change Issue

My project type is InstallscriptMSI project.. I use "TextFileChange" IDE option to change the content of "sample.config" file.

During the new installation files are copied to installation path successfully and text file changes are done successfully.

The issue comes after the config file made changes, installation completed with out displaying the finish screen, application not displayed in Add/Remove program list.

I here attached the log file of sample installation.
Labels (1)
0 Kudos
11 Replies
KrisVanherck
Pilgrim

Re: InstallScriptMSI project Text File Change Issue

this doesn't look like a full verbose log file to me

you want to call your installer like this:
setup.exe /v"/l*v C:\MyLog.log"
0 Kudos
ch_eng
Flexera beginner

app.config?

If you're trying to modify an app.config file, have you tried XML file changes instead?
0 Kudos
palanisamy
Flexera beginner

Re: InstallScriptMSI project Text File Change Issue

Hi KrisVanherck,
I Here attached the full msi log according ur guidance.
0 Kudos
palanisamy
Flexera beginner

Bug in Installshield 2010

Hi Accresso Team

This issue is an bug in installshield2010.
0 Kudos
hidenori
Pilgrim

Re: InstallScriptMSI project Text File Change Issue

If you create a new InstallScript MSI project from scratch, and only add a text replacement to modify the "sample.config" file, is the problem reproducible?
0 Kudos
palanisamy
Flexera beginner

Text File changes

Hi Hidenori,

I created New Installscript msi Project, yes this problem is reproduceable..
I try two or more times this problem araise repeatly...

Following Scenario to reproduce in Installscript MSI project, I did't try this option in BasicMSI project

1.) In IDE open TextFile changes option
2.)Add Replacement set in TextFile changes
3.) Target folder = [INSTALLDIR] Include Files = Sample.config, it will run only on install
4.) Add replacement from Sample.config replacement set.
5.) In "find what" add this string
6.) In "Replace With" add this string

please Try above scenario and confirm whether it is my mistake or installshield bug.
0 Kudos
hidenori
Pilgrim

Re: InstallScriptMSI project Text File Change Issue

It is not reproducible on my side. I may be missing something. Would it be possible for you to post your sample.config file? I also need more detailed reproduction steps on how you run the setup.

Thank you.
0 Kudos
palanisamy
Flexera beginner

Re: InstallScriptMSI project Text File Change Issue

Hi Hidenori,

Content in the Sample.config file as shown below
-----------------------------------------------------








---------------------------------------------------------------------

These are the following steps to reproduce the problem

1.) Add "Sample.Config" file as componet and set installlocation is "[INSTALLDIR]"
2.)Add Replacement set in TextFile changes
3.) Target folder = [INSTALLDIR] Include Files = Sample.config, it will run only on install
4.) Add replacement from Sample.config replacement set.

5.) In "find what" add this string

6.) In "Replace With" add this string
0 Kudos
hidenori
Pilgrim

Re: InstallScriptMSI project Text File Change Issue

Thank you for the information. Now I am able to reproduce the problem. I filed the work order #IOA-000052853 so that it will be fixed in a future release. Also, we are currently working on the hotfix for IS 2010. I will post more information as soon as it is available.

Thank you again for reporting this, and for your cooperation.
0 Kudos