Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Specifying GUID value in InstallScript


1 reply to this topic

Manu

Manu
  • Members
  • 1 posts

Posted 02 July 2003 - 11:17

Hi
I have a single .ism project.The setup CD has a folder along with the setup.exe whose content can change and it is this folder whose contents get copied on to the machine on which setup is to run.What i want to do is generate GUID on fly in the install script so that the GUID provided by me gets registered in the registry under various heads where Insallshield enters the GUID.

I have tried doing this using

MsiSetProperty(ISMSI_HANDLE,"ProductCode",sValue)

when i retrieve the value using

MsiGetProperty(ISMSI_HANDLE,"ProductCode",sValue,nVal)

it gives me the value specified by me.But lookin into the registry i see the ProductCode which was genereated by Insattlshield itself.

Can some one tell me how i can achieve this

Thanks in advance



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 03 July 2003 - 09:53

Did you read this article: "Setup Launcher to Suppress Maintenance Mode in IS6 and ISD7" at http://www.installsi...tt_cdbrowse.htm