On the final page action list I have the following code to launch our application when the user clicks finish.

<finalPageActionList>
        <runProgram>
            <program>${installdir}\SocialSafe files\SocialSafe.exe</program>
            <programArguments>launch "Launched from installer" &amp;</programArguments>
            <progressText>${msg(Installer.Installation.Finished.Run.SocialSafe.Text)}</progressText>
            <show>0</show>
            <!-- Use long filename -->
            <useMSDOSPath>0</useMSDOSPath>
        </runProgram>
</finalPageActionList>

The problem is the application is not always launched on clicking finish but the BitRock installer log file displays 'Executing {absolute path to app executable}'. Any ideas/help?

asked 03 Jul '13, 05:50

Ben's gravatar image

Ben
0888
accept rate: 0%


Could you try if changing the <workingDirectory> to ${installdir} and removing it from <program> helps? For example:

<finalPageActionList> <runProgram> <program>SocialSafe files/SocialSafe.exe</program> <programArguments>launch "Launched from installer" &amp;</programArguments> <progressText>${msg(Installer.Installation.Finished.Run.SocialSafe.Text)}</progressText> <show>0</show> <workingDirectory>${installdir}</workingDirectory> <!-- Use long filename --> <useMSDOSPath>0</useMSDOSPath> </runProgram> </finalPageActionList>

link

answered 03 Jul '13, 07:56

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

That appears to have fixed the issue, thank you wojciechka!

(03 Jul '13, 08:52) Ben
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×54
×12
×11

Asked: 03 Jul '13, 05:50

Seen: 1,310 times

Last updated: 03 Jul '13, 08:52