cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
davidg
Level 4

Automation VB Script for Changing 32 bit Installer to 64 Bit

Hello,

I am in the process of creating a script to modify my 32 bit installer (BasicMSI), and change it into a 64 bit installer.

Tasks completed so far:

*Marked all components as 64 bit

For Each m_Comp In m_ISWiProject.ISWiComponents 


StdOut.WriteLine "Changing " + m_Comp.Name + " to 64 bit component"
m_Comp.Attrib64BitComponent = True

Next


*Changed the install directory to programfiles 64folder

[CODE]m_ISWiProject.INSTALLDIR = "[ProgramFiles64Folder]CompanyName\Product" [/CODE]


*Updated the template summary

StdOut.WriteLine "Updating Template Summary"

For Each pSISProp In m_ISWiProject.ISWiSISProperties

If pSISProp.Name = "TemplateSummary" Then

pSISProp.Value = "x64;1033"

StdOut.WriteLine "Updating Template Summary ... Done"

End If

Next


Now I still have a few todo's which I have not been able to figure out:

IIS
*Change the App Pool Enable 32 Bit Applications to true
*Change the IISitems to the asp.net 64 bit platform.

Redistributables
*Change the redistributables collection to use my 64 bit redist.

If someone can point me in the right direction, or point out some Automation Objects to use it would be greatly appreciated.

Thanks
davidg
Labels (1)
0 Kudos
(3) Replies
davidg
Level 4

IIS
*Change the App Pool Enable 32 Bit Applications to true
*Change the IISitems to the asp.net 64 bit platform.

For this section I've decided to define properties in the IIS Tables, it seems to be working.
0 Kudos
davidg
Level 4

Redistributables
*Change the redistributables collection to use my 64 bit redist.

This was not needed as I just added an OS condition to the preq.
0 Kudos
nikhil_deopujar
Level 3

I created one VBScript Custom action and include this cod to it.

When should I call this Custom Action and what condition I put for it and where???

Help
0 Kudos