"squirreltown" wrote:
I tend to think a missing registry setting is the culprit in these situations.
I have only one setting being stored in the registry. And I have a workflow for the case if the settings is not found in the registry. This workflow seems to be working fine when I am using zip. But in the package file it seems to be crashing the application right at the place where it is getting that setting from registry and using it. So you might be right about the registry but why is it working in zip?
Here is my code:
running = True
While running
this.textureManager.Cleanup()
this.screenState = Invalid
this.accessCode = RegRead(this.accessCodeKey, Invalid)
If this.accessCode = Invalid
KBScreen = KeyboardScreen(this.port, "Enter Your Access Code")
this.accessCode = KBScreen.Show()
KBScreen = Invalid
End If
If this.accessCode <> Invalid
' Get content from server and display on screen
Else
running = False
End If
End While