PDA

View Full Version : Create GUID



PhilipCS
03-08-2007, 02:09 PM
Hi I'm working with InstallShield 12 Express. Is there any way to have the installer create a new GUID in the registry each time it is installed?

Thanks!

Dsilva
03-09-2007, 05:50 AM
Hi,

I understand that you wish to create a new GUID each time when you run the setup project.

In order to troublehshoot further with this issue, I would like to know which GUID you refers to , means it is Product code or package code or upgarde code you wish to change.

If it is package code, then you can go to releases view-Product configuration. There we have an option to Generate Package code. Set its value to YES which means the each time when running your installtion, a new package code will gets created.

Hope this helps you.

Regards,
Dsilva

bryanwolf
03-09-2007, 10:01 AM
Phillips:
There's no real way to create a GUID from InstallShield at runtime like that unfortunately. You might be best served with some form of VBScript custom action or a DLL.

Dsilva:
Unfortunately, that suggestion won't help for Express and I don't believe that's what he was looking for.

PhilipCS
03-09-2007, 01:56 PM
thanks for the responses! i'll look into using vbscript to generate the GUID.