Web-media-Block needed?
Web-media-Block needed?
Hello,
I'm evaluating the Installaware Studio Admin 9. I want to build a package with 2 USB-Driver for a Device manufactured by us.
So I start a now Project, configured two features (can I have 2 USB-Drivers in one Feature?), selected the Inf-Files under "Drivers" and tried to build that package.
But I always get the error "Error during build: At least one Web Media Block must be defined before installation commands that may require media".
Why that? I only build a Single-File-Package.
Can anybody help me?
Regards
Daniel
I'm evaluating the Installaware Studio Admin 9. I want to build a package with 2 USB-Driver for a Device manufactured by us.
So I start a now Project, configured two features (can I have 2 USB-Drivers in one Feature?), selected the Inf-Files under "Drivers" and tried to build that package.
But I always get the error "Error during build: At least one Web Media Block must be defined before installation commands that may require media".
Why that? I only build a Single-File-Package.
Can anybody help me?
Regards
Daniel
If i'm correct you are trying to build a Web Deployed setup.
Therefore you need at least one Web media Block.
Simply add one named [Off line content]
and put your files and logics below that.
Hope this helps.
Ton.
Therefore you need at least one Web media Block.
Simply add one named [Off line content]
and put your files and logics below that.
Hope this helps.
Ton.
Ton Blokhuizen
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]
Tooling Engineer
BMA BV - Netherlands
[i]BMA: leading the way in obstetrical data management
http://www.bma-mosos.nl[/i]
Here is the web media-content from the MSI-COde:
Code: Select all
[OFFLINE CONTENT]
[DEFINE WEB MEDIA Driver marcomi]
if Variable SELECTED Equals TRUE
end
[DEFINE WEB MEDIA Driver arcocdc]
if Variable SELECTED Equals TRUE
end
[DEFINE WEB MEDIA Driver arcocdc]
if Variable SELECTED Equals TRUE
end
[DEFINE WEB MEDIA Driver lab/bpu/2b]
if Variable SELECTED Equals TRUE
end
[DEFINE WEB MEDIA Driver lab/bpu/2b]
Get Component Driver lab/bpu/2b Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Create Shortcut $SHORTCUTFOLDER$\\marco-load to $PROGRAMFILES$\\marcoload\\marco-load.exe
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\cdc_cat\\marcocdc.cat to $PROGRAMFILES$\\Drivers\\marcocdc
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\cdc_cat\\marcocdc.sys to $PROGRAMFILES$\\Drivers\\marcocdc
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\cdc_cat\\marcocdc.inf to $PROGRAMFILES$\\Drivers\\marcocdc
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\mi_cat\\marcomi.cat to $PROGRAMFILES$\\Drivers\\marcomi
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\mi_cat\\marcomi.sys to $PROGRAMFILES$\\Drivers\\marcomi
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\mi_cat\\marcomi.inf to $PROGRAMFILES$\\Drivers\\marcomi
end
[DEFINE WEB MEDIA marcoload]
Get Component marcoload Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Create File Type fep with extensions and associate with program $PROGRAMFILES$\\marcoload\\marco-load.exe
Create File Type tld with extensions and associate with program $PROGRAMFILES$\\marcoload\\marco-load.exe
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\marco-load.exe to $PROGRAMFILES$\\marcoload
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\tar.exe to $PROGRAMFILES$\\marcoload
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\zcat.exe to $PROGRAMFILES$\\marcoload
Install Files \\\\B-login\\public\\mingw\\usr\\install\\fep.exe to $PROGRAMFILES$\\marcoload
Install Files \\\\B-login\\public\\mingw\\usr\\install\\fep_les.exe to $PROGRAMFILES$\\marcoload
Install Files \\\\B-login\\public\\mingw\\usr\\install\\fep_wrt.exe to $PROGRAMFILES$\\marcoload
Install Files \\\\B-login\\public\\mingw\\usr\\install\\tload.exe to $PROGRAMFILES$\\marcoload
end
Comment: TO-DO: Insert any additional install commands here
Hi Daniel,
InstallAware DOES normally create this construct.
E.g. (From a new project:)
[OFFLINE CONTENT]
[DEFINE WEB MEDIA New Project]
Get Component New Project Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
end
Comment: TO-DO: Insert any additional install commands here
See ?
If you are not seeing this, prehaps you can say which template you used so I can log a change request.
InstallAware DOES normally create this construct.
E.g. (From a new project:)
[OFFLINE CONTENT]
[DEFINE WEB MEDIA New Project]
Get Component New Project Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
end
Comment: TO-DO: Insert any additional install commands here
See ?
If you are not seeing this, prehaps you can say which template you used so I can log a change request.
Andy Neillans
Ok, tried the project in anotrher way: Only 2 Features, no slashes in the FEature-Names, same result:
So, the slahes could not be the Problem.
Regards
Daniel
Code: Select all
[OFFLINE CONTENT]
[DEFINE WEB MEDIA driver lab_bpu_b]
Get Component driver lab_bpu_b Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\mi_cat\\marcomi.cat to $PROGRAMFILES$\\driver lab_bpu_b\\marco_mi
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\mi_cat\\marcomi.inf to $PROGRAMFILES$\\driver lab_bpu_b\\marco_mi
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\mi_cat\\marcomi.sys to $PROGRAMFILES$\\driver lab_bpu_b\\marco_mi
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\cdc_cat\\marcocdc.cat to $PROGRAMFILES$\\driver lab_bpu_b\\marco_cdc
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\cdc_cat\\marcocdc.inf to $PROGRAMFILES$\\driver lab_bpu_b\\marco_cdc
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\lab_bpu_2b-1_6\\cdc_cat\\marcocdc.sys to $PROGRAMFILES$\\driver lab_bpu_b\\marco_cdc
end
[DEFINE WEB MEDIA marcoload]
Get Component marcoload Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Create Shortcut $SHORTCUTFOLDER$\\marcoload to $PROGRAMFILES$\\marco-load.exe
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\marco-load.exe to $PROGRAMFILES$
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\zcat.exe to $PROGRAMFILES$
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\tload.exe to $PROGRAMFILES$
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\tar.exe to $PROGRAMFILES$
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\fep.exe to $PROGRAMFILES$
Install Files C:\\Dokumente und Einstellungen\\Administrator\\Desktop\\marco.ico to $PROGRAMFILES$
end
Comment: TO-DO: Insert any additional install commands here
[compiler if Variable BUILDMODE Equals PATCH]
Apply Patch (get result into variable SUCCESS)
[compiler else]
if Variable ADVERTISE Equals TRUE
Apply Advertised (get result into variable SUCCESS)
else
Create Folder $PROGRAMFILES$\\driver lab_bpu_b
Create Folder $PROGRAMFILES$\\driver lab_bpu_b\\marco_mi
Create Folder $PROGRAMFILES$\\driver lab_bpu_b\\marco_cdc
Apply Install (get result into variable SUCCESS)
if Variable SUCCESS not Equals ERROR
if Variable SUCCESS not Equals CANCEL
Get Component driver lab_bpu_b Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
DIFx Install x86 driver in folder $PROGRAMFILES$\\driver lab_bpu_b\\marco_cdc\\marcocdc.inf
DIFx Install x86 driver in folder $PROGRAMFILES$\\driver lab_bpu_b\\marco_mi\\marcomi.inf
end
end
end
end
[compiler end]
Set Variable PROGRESS to 100
end
<<Code>>
<<Code>>Regards
Daniel

