Jump to content


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.
Photo

how to store company name in database.


1 reply to this topic

ranjit kumar

ranjit kumar
  • Full Members
  • 5 posts

Posted 20 April 2007 - 13:44

hi all,
i am using BASIC MSI installshiled 12.
i have to store the user company name in the database.
i.e: Actuallly in the customer dialog user is giving user name and company name. Then i am capturing company name and storing it in registry and .ini file as[COMPANYNAME].
Now my requirement is when i am executing the scriptalong with the installation of my product, comapny name should be stored in database.
The SQL syntax is
mysql> insert into datadictionaryitem (DataDictionaryTypeIdFK,DataValue,PrincipalIdFk)

values (1,'[COMPANYNAME]’,2);
So how can i sore the company name in that coloumn when the i am executing script along with the installation of my product.
Please help me.



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 April 2007 - 09:25

In the SQL View select your SQL script. To the right there's a tab called "Text Replacement". You can use this to replace some placeholder text in your sql script with the valuie of a property.