PDA

View Full Version : Set password in SKU management



NewsArchive
02-24-2012, 01:12 AM
I will have to change the password for my web based installs VERY
often.

I have really leaned to love SKU management - Is it possible to set
the password to a variable?

I.E. the password could be Yadada_878, where 878 is the build no

Best regards

Edvard Korsbæk

NewsArchive
02-24-2012, 01:13 AM
Yes it is. Set it like any other variable in the SKU system. Just be sure to
replace all spots in the script with a hard coded password with the variable name.

I use this technique to upload to different accounts on an ftp server. Been
working for years.

Russell B. Eggen
www.radfusion.com

NewsArchive
02-24-2012, 01:13 AM
Thanks Russ, but the real problem is to SET the password.

In the visualiser, if you try to set it to [VERSION], the password is
litterally [VERSION] - not the version resource.

I do not think its possible (yet) to set the password in a variable -
Right?

Best regards

Edvard Korsbæk

NewsArchive
02-24-2012, 04:15 AM
> I do not think its possible (yet) to set the password in a variable - Right?

Hi Edvard,

We set it from an INI file in our generic installer script.

See attached.

It works fine.

Does that help?

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - ProScan, ProImage, ProPath and other Clarion
developer tools!
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
02-24-2012, 04:15 AM
Edvard,

> I will have to change the password for my web based installs VERY
> often.
>
> I have really leaned to love SKU management - Is it possible to set
> the password to a variable?
>
> I.E. the password could be Yadada_878, where 878 is the build no

Do you mean the Host Password for the web server login (Web Deployment
Visualizer -> iDeploy Web Installation) and/or (Web Deployment Visualizer ->
iDeploy Web Update)?

Or do you mean the "Password" dialog in the Dialogs Visualizer?

Friedrich

NewsArchive
02-24-2012, 06:00 AM
Its the setting in the Password Dialogt that fools me - Pls. se
attached

Best regards

Edvard Korsbæk

NewsArchive
02-24-2012, 06:01 AM
Hi Edvard,

> Its the setting in the Password Dialogt that fools me - Pls. se
> attached

Seems to work fine here. See attached screenshots.

The [PASSWORD] value is set via the SKU feature. In the Password dialog, I
have set the password to Yadada_[PASSWORD].

The compiler displays the SKU dialog and I enter 879. Then I start the
generated installation and in the password dialog, I enter Yadada_879. The
installer accepts it.

Friedrich

NewsArchive
02-24-2012, 06:01 AM
It is:
"Or do you mean the "Password" dialog in the Dialogs Visualizer?"

Best regards

Edvard Korsbæk

NewsArchive
02-25-2012, 02:11 AM
Beginning to feel less intelligent than i use to.

I can make the [PASSWORD] variable - No problem there.
I can see, that yours are too 'Home made', i.e. 'Custom'.

I set SKU to Entry, and makes an entry in the variable

But the paasword dialog do not use [PASSWORD] anywhere - And I cannot
see how i can make it use it.

Best regards

Edvard

NewsArchive
02-26-2012, 03:07 AM
Edvard,

I have attached a demo. Compile "SKUPassword.sb7" and in the SKU dialog,
define a password. If you enter 123 then the password for the install will
be Yada_123. If you enter ABCDE then the password will be Yada_ABCDE.

Does this work?

Friedrich