Change setup variable data - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

john_122232
Posts: 1
Joined: Mon Jan 04, 2010 3:33 pm

Change setup variable data

i have two questions:

1. how do i do string manipulations on a custom variable
2. how do i set/change the value of the setup variables to the value obtained in the previous question

if possible through vb-script, some code will be highly appreciated

thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Change setup variable data

Hi John,

Attached is a sample vbscript that converts mixed case property's value to an all uppercase property value using vbscript. Note that the three custom actions are set as immediate, as a deferred custom action can not change a property.

Here is a list of vbscript functions. On this page you may find a list of string manipulating vbscript functions that can aid you.

Regards,
Gabriel
Attachments
sample.zip
(203.68 KiB) Downloaded 216 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”