I am new to thinapp so maybe I'm missing something simple. I have built a thinapp package for Crystal Reports and copied it over to Win7 pc and run
Just like to understand the reason for packaging on 64 bit OS. Is it 32 bit or 64 bit application?
Have you tried installing the MSI as an alternative to Thinreg?
the app is 32 bit. No particular reason for choosing 64bit over 32bit OS for running the build on other than that was the pc I remembered the name of first.
I have not tried the MSI mainly because I barely understand the exe version. I can do some reading and see about creating an MSI. Can you tell me your reasons for suggesting that way of doing it?
ThinApp does not suppprt 64 bit apppications. As your app is 32 bit, it is suggested to package on 32 bit OS.
Installing the MSI would automatically register the ThinApp (ThinReg) for you than manually registering it. Suggested this way to confirm the behavior you reported.
you are correct. As we have had to package apps on a 64bit OS for different reasons we haven't run into any problems so I wasn't worried about it.
However, I did create the msi on both XP 32bit and Win7 64bit to test your suggestion and the same result occured with the MSI. double clicking the .rpt file opens Crystal inside the thinapp package but does not open the file itself. This happens with both the 32bit and 64bit OS version of the package.
Can you check the package.ini that it contains .rpt in the Filetypes=?
Yes it does:
[Crystal Reports 10.exe]
Source=%ProgramFilesDir%\Crystal Decisions\Crystal Reports 10\crw32.exe
Shortcut=Crystal Reports 10 TMC.dat
FileTypes=.rpt
Comment=Creates and modifies formatted data reports (.RPT)
Shortcuts=%Programs%;%Programs%\Crystal Reports 10 Tools
What happens when you launch Crystal Report ThinApp and open .rpt file from File -> Open menu?
Lakshman, when I do that the file opens just fine. Also to go one step further if I run "c:\program files (x86)\thinapp\Crystal 10.exe" <path to .rpt file> the file opens just fine inside the thinapp package. the only time it does not is if I double click on the file itself.
Interesting. Would you mind giving a try with the latest version of ThinApp (4.7.2) and check if the issue still exists please?
using version 4.7.2 instead of 4.7.1 did not fix the issue.
When you register the ThinApp (Thinreg or MSI) do you see the .rpt file icon gets changed to that of crystal reports?
Yes sir. Windows recognizes the registration/association change and updates the .rpt file icons appropriately.
Im running out of suggestions for this issue. Request you to file Support Request with VMware please.
HI GDWilt,
I am also experiencing the same issue. Have you found a solution?
I am currently out of the office until Thursday Jan 5 2012. If you have an emergency Please call the service desk at 952-9376752.
hermdog, I have not found a solution. I opened a ticket with VMware and these are the suggestions they gave me which have not worked for me as yet. I have a conf call with them later this week and will let you know what we find out.
"Can you add the following parameter to the in your package.ini file and rebuild with the build.bat file?
VirtualizeExternalOutOfProcessCOM=0 "
Ok, I'd greatly appreciate to hear what you find out. I have 4 different versions of Crystal Reports all exhibiting the same issue. Thanks for your reply.
Hermdog
Hermdog,
If you are still looking for a solution it looks like tech support came up with one(I won’t comment on how long it took). This is what I received and it seems to do the trick:
Engineering have provided a workaround and have marked the code fix to be targeted for a future release of ThinApp.
There's also a chance that with this workaround implemented that if there is already an instance of Crystal Reports running when a user clicks on a RPT file, a new instance will be launched.
At the moment, that may be the only option until they implement the proper correction to the code.
In the meantime, please remove the following entries from the HKEY_LOCAL_MACHINE.txt file in the project root folder and rebuild using build.bat
isolation_full HKEY_LOCAL_MACHINE\Software\Classes\CrystalReports\shell\Open
isolation_full HKEY_LOCAL_MACHINE\Software\Classes\CrystalReports\shell\Open\command
Value=
REG_SZ~"C:\Crystal Decisions\Crystal Reports 10\crw32.exe" /dde#2300
Value=command
REG_MULTI_SZ~t3Ld[,j(P@l9nid7vA_scrw>&q3(1Y+kI=KR&zwdsZ72 /dde#2300#2300
isolation_full HKEY_LOCAL_MACHINE\Software\Classes\CrystalReports\shell\Open\ddeexec
Value=
REG_SZ~[open("#23251")]#2300
Hope this helps.
This worked perfectly for me. Thank you!
