VMware Horizon Community
MrMe201110141
Contributor
Contributor

Rebuilding breaks an app

Hi,

Sometimes when I rebuild an app that someone else has created, I run build.bat (having done no other changes) and the build completes successfully.

However, when I launch the application it says 'Unable to Open' (it previously launhced).

Checking the .bin folder I can see the newly built .dat and .msi are a fraction of the oriinal size.

The app was a snapshot on 4.6.2 (confirms in 'Capture Machine Overview.txt'), and I am rebuilding on 4.6.2.

I tried running relink.exe incase of slight difference to thinapp version, then followed by build.bat - same issue.

Has anyone else experienced this? Any advice would be appreciated.

Thanks.

Reply
0 Kudos
7 Replies
Phil_Helmling
VMware Employee
VMware Employee

You could try to delete the %AppData%\Thinstall\ThinstallBuilder directory.

Phil

Reply
0 Kudos
MrMe201110141
Contributor
Contributor

Thanks for your suggestion Phil, just tried that and rebuilt - same issue.

Reply
0 Kudos
Phil_Helmling
VMware Employee
VMware Employee

have you tried building on another machine or rebooting the machine you are on? You could also run a command prompt, navigate to the project folder and run build.bat from there.

Phil

Reply
0 Kudos
Lakshman
Champion
Champion

Are you building the app from a network share or locally?

Reply
0 Kudos
MrMe201110141
Contributor
Contributor

Thanks for replies. Have copied it from network share to local. Have rebooted.

A colleague tried rebuild this morning and it worked.

I'm currently downloading 4.7 - will let you know if this works.

Just spotted similar thread:

http://communities.vmware.com/message/1868098?tstart=0

Cheers,

Mike.

Reply
0 Kudos
MrMe201110141
Contributor
Contributor

Figured out what the issue was.

When I rebuild the app I always do it from a command prompt so I can see if there were any issues.

This time I just double clicked the build.bat and it worked. So issue only exists when run build.bat from cmd. I will always double click in future!

The same issue existed with 4.7, which is dissapointing.

Thanks for all the replies!

Reply
0 Kudos
TobyFruthParson
Enthusiast
Enthusiast

Sounds like something else is going on, because I always run build.bat from command prompt.  Must be a different issue.

Technically, ThinApp doesn't have to be "installed" in order for it to work.  You do need to define the THINSTALL_BIN environment variable.

See this thread for more detail:  http://communities.vmware.com/message/1854821#1854821

Toby Fruth, Sr. Specialist, The Parsons Corporation
Reply
0 Kudos