Hi,
I think this is possible if u r using Install Shield to create the package. I don't think it is possible with package and deployment wizard in Visual Studio. btw which 1 are u using?
Pres
Printable View
Hi,
I think this is possible if u r using Install Shield to create the package. I don't think it is possible with package and deployment wizard in Visual Studio. btw which 1 are u using?
Pres
hi,
for testing purposes i am using Pack and Dep tool.....but mostly for the final setup i think we will be going for InstallShield......
one more thing i noticed in VC++ project there is one file called .rgs which takes care of all the registry entries.....
is there anything similar to it in VB????
regds,
ashay
The only thing I can think of to help you is to register the item while in the installation with a short vb program at the end of the installation.
C:\windows\system\regsvr32 /u - unregister
C:\windows\system\regsvr32 - register
Hi,
I think as far as I know, there is nothing in VB for this as u said that there is 1 in VC. But installshield is the best option for this.
Pres.
hi,
okies.....thanx anywaz.........:)
regds,
ashay
Actually...
with the Deployment & Package Wizard you can include a .reg file...
I do it a lot...you just need to add it in the screen where it asks for custom added files...and when it spots a .reg file will ask you two things...
-Do you want the .reg file to be extracted and leave it in the target computer?
and...
-Do you want to apply the .reg file to the registry during setup?
so...you can make your own .reg file and the Setup will take care of the rest ;)
Hope that this helps:D
Thanks D12Bit
That was too informative. :)
Pres.
hi,
thanx all for the help.........that was very useful :)
regds,
ashay
hi,
through install shield u can do it.
there r certain commands 4 tht
this will retrieve the value from registry
RegDBGetKeyValueEx (szKey, szName, nvType, svValue, nvSize);
this will set the value from registry
RegDBSetKeyValueEx (szKey, szName, nType, szValue, nSize);
this is for information bout application
RegDBSetAppInfo (szName, nType, szValue, nSize);
RegDBSetKeyValueEx (szKey, szName, nType, szValue, nSize);
by setting this value in install shield u can do certain changes
best of luck
bye
Rishi Bhutani:D
hi,
i am creating a setup using P&D and also want to update the registry during Setup......
The .reg file is as foll:
__________________________________________________
Regedit4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Toolbar]
"{D731E9A8-A012-424F-8F1B-DE0A3C6573D9}"=hex:
__________________________________________________
This .reg file when run manually works fine....but when i try to add it to the setup.......it gives me an error
The file "C:\wn.reg" is not recognised as a valid registry file.
___________________________________
but when i run this Wn.reg file,it works fine and also updates the registry.
any idea wat cud be wrong
regds,
ashay