|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Posts: 6
|
Hi,
been going nuts trying to get the following to work. the only one that actually launches is the vcredist_x86.exe, nothing occurs with the rest. Function in.InstallRedistributables # Installing library comctl32.ocx ExecWait '"$SYSDIR\regsvr32 $SYSDIR\DBGRID32.OCX" /s' $0 <== Nothing Happens or ExecWait '"regsvr32 $SYSDIR\DBGRID32.OCX" /s' $0 <== Nothing Happens # Installing library MSDATGRD.OCX ExecWait '"$SYSDIR\regsvr32 $SYSDIR\MSDATGRD.OCX" /s' $0 <== Nothing Happens # Installing library MSRDC20.OCX ExecWait '"$SYSDIR\regsvr32 $SYSDIR\MSRDC20.OCX" /s' $0 <== Nothing Happens ExecWait '"$INSTDIR\REDIST\vcredist_x86.exe" /Q' $0 ExecWait '"msiexec $INSTDIR\REDIST\CRRedist2005_x86.msi " /passive' $0 FunctionEnd any help appreciated. thanks, Johnny |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
What is wrong with RegDLL?
Stu |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
your quotes are all wrong, try
ExecWait '"$SYSDIR\regsvr32.exe" "$SYSDIR\DBGRID32.OCX" /s' $0 but nsis can install librarys for you, try Library.nsh or RegDLL IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2007
Posts: 6
|
thank you for the information,
i thought i did try the regdll, but i had to manually register the ocx's again. I'll try again from scratch Thanks, Johnny |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|