|
-
Jun 12th, 2002, 05:35 AM
#1
Thread Starter
Addicted Member
Using PDW or Install Shield
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
-
Jun 12th, 2002, 07:20 AM
#2
Hyperactive Member
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
-
Jun 12th, 2002, 07:30 AM
#3
Addicted Member
Try registering lines...
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
-
Jun 12th, 2002, 07:37 AM
#4
Thread Starter
Addicted Member
I don't think so
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.
-
Jun 12th, 2002, 08:09 AM
#5
Hyperactive Member
hi,
okies.....thanx anywaz.........
regds,
ashay
-
Jun 12th, 2002, 10:59 AM
#6
Hyperactive Member
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
"Who Dares Wins" - "Quien se Arriesga Gana"
Mail me at: 
-
Jun 13th, 2002, 12:00 AM
#7
Thread Starter
Addicted Member
Thanks D12Bit
Thanks D12Bit
That was too informative.
Pres.
-
Jun 13th, 2002, 01:13 AM
#8
Hyperactive Member
hi,
thanx all for the help.........that was very useful
regds,
ashay
-
Jun 13th, 2002, 02:45 AM
#9
New Member
i think this will help u out
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
-
Jun 24th, 2002, 04:28 AM
#10
Hyperactive Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|