1

I'm creating a .NET installer using SetupProject of VS2008. I can force my execute file to run after installation as described here. But I don't know how to force a display of Readme.txt. When I add a text file for custom action, it always tells me that the file is not supported for custom action.

What should I do? I do not want to create a batch file for this task to invoke the display of txt file.

Any suggestion would be greatly appreciated.

MC Emperor
  • 22,334
  • 15
  • 80
  • 130
Yen NQ
  • 749
  • 7
  • 12

1 Answers1

0

Just like it is described here, but you can call:

cmd /k start <path to ReadMe.txt>

not sure, maybe even start <path to ReadMe.txt> or explorer <path to ReadMe.txt> will work

Community
  • 1
  • 1
Andrey Borisko
  • 4,511
  • 2
  • 22
  • 31
  • Thanks for your answer. I did as instructed in the post. After the installation it shows the cmd window, which is so ugly and make the user be concerned about a black windows shown up without reason. – Yen NQ Mar 29 '16 at 04:15
  • what about `explorer `? – Andrey Borisko Mar 29 '16 at 13:00