Read from Text file does not work with miabuild

Got a problem you cannot solve? Try here.
Post Reply
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Read from Text file does not work with miabuild

Post by mikKummerfeld »

If you build a project via CMD.exe (miabuild), the function "Read from text file" does not work
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Read from Text file does not work with miabuild

Post by bokkie »

Heiko,

I'm using IA at this moment in time. I will check that for you and reply shortly...
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: Read from Text file does not work with miabuild

Post by bokkie »

Heiko,

I've attached a sample project which works for me. Can you try it? It's a basic project without any UI. I also built it using miabuild.exe.

Create a text file called Test.txt in C:\Temp and then run the installer. It reads the text file and creates an output file called C:\Temp\TestOutput.txt. From my desk, the reading and writing of the text file seems to be okay.

Yes, I have had some coffee this morning so I know I'm not hallucinating from lack of the Nobel Bean. :)
Attachments
HeikoTest.7z
(857 Bytes) Downloaded 383 times
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
mikKummerfeld
Posts: 252
Joined: Sat Dec 03, 2011 3:07 am
Location: Konstanz, Germany
Contact:

Re: Read from Text file does not work with miabuild

Post by mikKummerfeld »

I am writing the content of a local text file (version number) into a variable.

with IA : $versionx$ is 1.0.3.15002
with miabuild: $versionx$ is EMPTY
Kind regards

Heiko Kummerfeld
MIK GmbH

Setup developer for .NET BI Software (12 products)
Head of quality assurance
technical consultant
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Read from Text file does not work with miabuild

Post by FrancescoT »

Dear Heiko,

I have tested the sample provided by Peter ( ...many thanks :D ) ... and works fine with Miabuild too.

Have you tested it?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply