Slobey
03-25-2005, 11:21 AM
Hi again,
I have a setup program that includes the option to install adobe reader. I also have a message that asks if the user wants to view the user guide. If the user picks the adobe package, then the reader is executed and reader is installed. If that package is not checked then the execution is skipped.
As it stands now, if the user picks the adobe package, the message to view the user guide seems to conflict with the installation of the reader. ( meaning the question pops up while the reader is being installed. This is what I have now, what I want to do is if the user picks the reader install that it installs the reader and then asks if he wants to view the user guide.
File.Open(SessionVar.Expand("%AppFolder%\\AdbeRdr70_enu_full.exe"), "", SW_SHOWNORMAL);
result = Dialog.Message("Read Me", "Would you like to view the user guide?", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
if result == IDYES then
File.Open(SessionVar.Expand("%AppFolder%\\V V Manhole Users Guide.pdf"), "", SW_SHOWNORMAL)
else
File.Open(SessionVar.Expand("%AppFolder%\\V V Manholes 1.0.exe"), "", SW_SHOWNORMAL)
end
What can I do?
I have a setup program that includes the option to install adobe reader. I also have a message that asks if the user wants to view the user guide. If the user picks the adobe package, then the reader is executed and reader is installed. If that package is not checked then the execution is skipped.
As it stands now, if the user picks the adobe package, the message to view the user guide seems to conflict with the installation of the reader. ( meaning the question pops up while the reader is being installed. This is what I have now, what I want to do is if the user picks the reader install that it installs the reader and then asks if he wants to view the user guide.
File.Open(SessionVar.Expand("%AppFolder%\\AdbeRdr70_enu_full.exe"), "", SW_SHOWNORMAL);
result = Dialog.Message("Read Me", "Would you like to view the user guide?", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
if result == IDYES then
File.Open(SessionVar.Expand("%AppFolder%\\V V Manhole Users Guide.pdf"), "", SW_SHOWNORMAL)
else
File.Open(SessionVar.Expand("%AppFolder%\\V V Manholes 1.0.exe"), "", SW_SHOWNORMAL)
end
What can I do?