This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Package and Product GUIDS ??
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 22, 2010
07:45 PM
Package and Product GUIDS ??
I recently found the vbs script to change guids written by Aaron McLean. We can't run vbs code on our computers so I wrote a c# .net executable that does the same thing.
I managed to run his vbs script on a test computer and compared it to my executable. Both work the same.
My problem is:
With both the vbs script and executable the guid is changed fine, but does not contain the curly brackets. I get
1234-1234-1234
instead of
{1234-1234-1234}
I recall reading somewhere the curly brackets are required?????
I managed to run his vbs script on a test computer and compared it to my executable. Both work the same.
My problem is:
With both the vbs script and executable the guid is changed fine, but does not contain the curly brackets. I get
1234-1234-1234
instead of
{1234-1234-1234}
I recall reading somewhere the curly brackets are required?????
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 23, 2010
12:20 AM
guid will start with curly brackets and they are required.
To have a feel of product Guid goto
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Unistall
Under this Key you will find all product that are installed onto your machine.
To have a feel of product Guid goto
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Unistall
Under this Key you will find all product that are installed onto your machine.
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 23, 2010
03:27 AM
I use below vbs code. It gives with brackets.
..........................
Vbs code
..........................
Function Generate_GUID()
Set TypeLib = CreateObject("Scriptlet.TypeLib")
Generate_GUID = TypeLib.Guid
msgbox Generate_GUID
End Function
Generate_GUID()
..........................
Vbs code
..........................
Function Generate_GUID()
Set TypeLib = CreateObject("Scriptlet.TypeLib")
Generate_GUID = TypeLib.Guid
msgbox Generate_GUID
End Function
Generate_GUID()
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 23, 2010
10:42 AM
Thanks, I figured they were so I modified code to include curly brackets