As part of our QA process for testing the Auto-Update functionality we use a script in our build to create copy of the normal install AIP file and set the version on the copy to 99.99.9999.9999. We recently tried setting the normal install AIP file to use a TargetFile to get the Version number which worked nicely. But now, when we run the "/SetVersion 99.99.9999.9999" command on the copied file it is not removing the "TargetFile" attribute from the ProductVersion tag in the AIP file. It does correctly set the Versin in the file to 99.99.9999.9999 but once we build the installer, it still pulls the version from the TargetFile and resets the Version from 99.99.9999.999 back to the version on the TargetFile.
Is there a way to remove the TargetFile attribute from the ProductVersion tag via command line?
My alternative was to just create another file with the version set to 99.99.9999.9999 and when doing the SetVersion command just set the TargetFile to point to that file. I was hoping I did not have to do that though.
Thanks for any help.