Skip to content
⌘ NSIS Forum Archive

Hello everybody, two questions.

6 posts

sandman919#

Hello everybody, two questions.

Hello how are you friends, i am new to nsis and i have a couple of questions about this tool

first one is :¿some body have truobles making instalations with NSIS in COMPAQ computers?.

second: i found some materials about install VB run times but NSIS it's new to me, ¿does anybody have more iformation about this?
kichik#
Use this macro:


on the file list written here:


For example:
Section "Instsall VB Files"
  !insertmacro UpgradeDLL "C:\\local\\path\\to\\vbfiles\\Comcat.dll" "$SYSDIR\\Comcat.dll"
# install all others here too...
SectionEnd 
Make sure you:
Define UPGRADEDLL_NOREGISTER before upgrading Stdole2.tlb (and undefine it before upgrading other files).
So use:
!define UPGRADEDLL_NOREGISTER
!insertmacro UpgradeDLL "C:\\local\\path\\to\\vbfiles\\Stdole2.tlb" "$SYSDIR\\Stdole2.tlb"
!undef UPGRADEDLL_NOREGISTER 
What problem do you have with COMPAQ computers?
sandman919#
thank you very much, for your attention.

i been used a compiler called PowerBasic to develop, but the functions i found to make a shortcut work fine in almost all computers except COMPAQ, and i wonders if somebody have troubles with compaq machines.

Section "Instsall VB Files"
!insertmacro UpgradeDLL "C:\local\path\to\vbfiles\Comcat.dll" "$SYSDIR\Comcat.dll"
# install all others here too...
SectionEnd
what hapen wiht this computer it's that the next time i restart my computer computer doesn't boot, it's something strange, and i need to copy some files to fix the computer.This hapen with my PowerBasic Functions to create shortcuts.