Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Package/Product Code

$
0
0
I've created a simple installscript msi project. It's meant only to write two files to a folder (one that our software uses). This is part of an update suite I've made. The two files get updated for every new version release. The trick is that I'm not over writing anything so the files are always new. The update should write the files to the folder. Then the next time the software runs the information is read in and they're deleted. Therefore when a new version is released the files aren't there to overwrite so they're technically new.

Follow me so far? Here's my problem... When this installer runs this script seems to get registered (I found at least one key in the registry). Therefore, if I run the script again for any reason (sometimes these same files are apart of another installer) I sometimes get an error stating that "this product is already installed".

I removed the detection and eligibility checks in my suite for the package/product codes but I still seem to have issues running that part of the suite more than once. Sometimes I get the error sometime the installer just gets "interrupted" without telling me why. So far the only trick I can find is to change all the codes (product, package & upgrade) evry time I build for every suit I happen to use this project in. But that just seems like a big hassle.

Am I missing something? All the project does is check a registry to make sure our software is installed and then install two files. It should always be able to run, no reason why it shouldn't be able to run twice in a row if you wanted. Thoughts on what I doing wrong? Or a way to do it better?

Viewing all articles
Browse latest Browse all 4553

Trending Articles