Symptoms
You may receive the following error message during deployment package using Package and Deployment 4.6.9:
Post-deployment: '=' is an unexpected token. The expected token is ''. Line X, position XYZ.
More specific examples:
Post-deployment: '=' is an unexpected token. The expected token is ''. Line 1, position 108.
Post-deployment: '=' is an unexpected token. The expected token is ''. Line 1, position 102.
Post-deployment: '=' is an unexpected token. The expected token is ''. Line 1, position 101
Diagnoses
This error being when the form included into the package has a Hyperlink control on it with link which contains "%".
During the first deployment form is being deployed without any issues, but all subsequent deployments (Create New Version) are failing with aforementioned error on post deployment stage.
The fact that first deployment works fine makes it difficult to recognize the real cause of the issue as it looks like all of a sudden the thing which used to deploy just fine giving you strange error.
Resolution
To solve this issue edit the link used in Hyperlink control on the form and make sure that it does not contain "%", this will resolve this error.
There is an existing feature request for Package and Deployment to implement functionality to parse illegal characters in URL's or throw a validation message.