Hi All,
I am new to this forum. I am stuck in a very big issue.
I have converted a "Installscript MSI" project to "pure InstallScript" one.
I need to store/set the username and password in a .bat file which gets deleted upon installation.(I need to start a service using this username and password).
I had done this using following code in Installscript MSI :
--------------------------------------------------------------------------------------
MsiSetProperty(ISMSI_HANDLE,"NTUSERNAME",svUserName);
MsiSetProperty(ISMSI_HANDLE,"NTPASSWORD",svPassword);
-----------------------------------------------------------------------------------
I need to replace this code since Msisetproperty does not work in Installscript.
It would be great if you could provide me with sample code to replace this msisetproperty functionality.
I tried adding ISWi.h but it gives error "can't open file".
Thanks in advance.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Substitute for MSISetProperty in installscript
Started by
Dolphin
, Jul 18 2009 17:03
1 reply to this topic
Posted 22 July 2009 - 17:45
NTUSERNAME and NTPASSWORD are properties which in a pure InstallScript project you would replace with variables. Of course you will also need to adjust the code that uses these variables to repace the text in the bat file.
Stefan Krüger
InstallSite.org twitter facebook