This is the script of prerequisites:
if Variable CRYSTAL13_1 Equals FALSE
Set Variable PROGRESSTEXT to Installing Crystal Reports Runtime Engine for .NET Framework 4
Set Variable CRYSTAL13_1FILES to
Define File Bag : #IADIR#\runtimes\crystal13_1bin\*.*, get runtime location of files into variable CRYSTAL13_1FILES
Set Variable CRYSTAL13_1ERR to
Install/Remove MSI Package $CRYSTAL13_1FILES$\CRRuntime_32bit_13_0_1.msi[ADDLOCAL=ALL] (get result into variable CRYSTAL13_1)
if Variable CRYSTAL13_1 Equals REBOOT
MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
if Variable REBOOTNOW Equals OK
Reboot Computer and Resume Setup
else
Terminate Installation
end
else
if Variable CRYSTAL13_1 Equals ERROR
MessageBox: $TITLE$ Setup, Crystal Reports Runtime Engine for .NET Framework 4 SP1 could not be installed. Please visit the SAP website to manually install this update on your system.$NEWLINE$Error: $CRYSTAL13_1ERR$$NEWLINE$$TITLE$ Setup cannot continue.
Terminate Installation
end
end
end
While debugging the variable CRYSTAL13_1FILES is set somewhere else. While executing the setup on any other PC it gives error "The filename, the directory, or volume label syntax is incorrect" while installing this runtime.
PLEASE help...
Prerequisites path not setting correcty at runtime.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Prerequisites path not setting correcty at runtime.
Dear User,
I just verified what you reported creating a sample project from scratch, with including the "Crystal reports runtime engine for .Net 4".
It works fine.
I really don't know which could be the cause of your issue.
Have you tried with a MessageBox to visualize the value of CRYSTAL13_1FILES variable at runtime?
Regards
I just verified what you reported creating a sample project from scratch, with including the "Crystal reports runtime engine for .Net 4".
It works fine.
I really don't know which could be the cause of your issue.
Have you tried with a MessageBox to visualize the value of CRYSTAL13_1FILES variable at runtime?
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
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
Re: Prerequisites path not setting correcty at runtime.
Yes.FrancescoT wrote:Have you tried with a MessageBox to visualize the value of CRYSTAL13_1FILES variable at runtime?
The problem was with long path. So I converted it to short path and it worked.
Thanks
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Prerequisites path not setting correcty at runtime.
Happy you solved!
Regards
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
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
Re: Prerequisites path not setting correcty at runtime.
Previously when I converted the path to short path it worked properly. But now it is showing the same error again. Please help.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Prerequisites path not setting correcty at runtime.
Dear User,
... if worked previously, it is strange that it doesn't currently.
Have you changed something?
Regards
... if worked previously, it is strange that it doesn't currently.
Have you changed something?
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
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

