Can someone please help me solve a very frustrating problem.
I have tried almost everything that I can think of, but to no avail.
I am running Setup Factory 9.1.0.0 on my Windows 7 machine.
I have created two check boxes "After Installing" as evidenced by image1Attachment 12304
The help screen shows the open instructions as
File.Open(string Filename,
string WorkingFolder = "",
number WindowsMode = SW_ShowNorma)
as evidenced by image2Attachment 12305
A different part of the help shows just the opposite
File.Open(string WorkingFolder = "",
string Filename,
number WindowsMode = SW_ShowNorma)
as evidenced by image3Attachment 12306
The actual coding that I placed was
if (check01) then
-- The first check box was checked. Open a readme text file.
File.Open(SessionVar.Expand("%AppFolder%").."\\rea dme.txt");
end
-- Check if the second checkbox was checked.
-- If it is checked, run the installed application.
if (check02) then
-- The second check box was checked. Run the application.
File.Run(SessionVar.Expand("%AppFolder%").."\\MyPr og.exe", "", "", SW_SHOWNORMAL, false);
end
I have tried it both ways, with and without the extra '\\' as the %AppFolder% includes the last backslash ('\'). I have tried with the check boxes before the "Finished Install" static text as well as after. I can't get the "Readme.Txt" to open.
I have tried almost everything that I can think of, but to no avail.
I am running Setup Factory 9.1.0.0 on my Windows 7 machine.
I have created two check boxes "After Installing" as evidenced by image1Attachment 12304
The help screen shows the open instructions as
File.Open(string Filename,
string WorkingFolder = "",
number WindowsMode = SW_ShowNorma)
as evidenced by image2Attachment 12305
A different part of the help shows just the opposite
File.Open(string WorkingFolder = "",
string Filename,
number WindowsMode = SW_ShowNorma)
as evidenced by image3Attachment 12306
The actual coding that I placed was
if (check01) then
-- The first check box was checked. Open a readme text file.
File.Open(SessionVar.Expand("%AppFolder%").."\\rea dme.txt");
end
-- Check if the second checkbox was checked.
-- If it is checked, run the installed application.
if (check02) then
-- The second check box was checked. Run the application.
File.Run(SessionVar.Expand("%AppFolder%").."\\MyPr og.exe", "", "", SW_SHOWNORMAL, false);
end
I have tried it both ways, with and without the extra '\\' as the %AppFolder% includes the last backslash ('\'). I have tried with the check boxes before the "Finished Install" static text as well as after. I can't get the "Readme.Txt" to open.