有什么方法可以抑制控制面板中 WiX 引导程序设置显示的默认大小

问题描述

我正在尝试安装 WiX 托管引导程序设置。我编写了一个自定义逻辑来计算占用的大小。有没有办法抑制 WiX 在控制面板条目中显示认大小。

解决方法

您可以使用 #! /usr/bin/env python import numpy as np import pandas as pd from datetime import datetime import time from bokeh.io import output_file,show,save from bokeh.plotting import figure from bokeh.plotting import ColumnDataSource from bokeh.layouts import gridplot from bokeh.models import LinearAxis,Range1d from bokeh.models.widgets import Tabs,Panel from bokeh.models import HoverTool from bokeh.models import CrosshairTool def get_data(): df = pd.DataFrame(np.array([['08:00:00',11],['08:30:00',15],['09:00:00',13],['09:30:00',17],['10:00:00',['10:30:00',19],['14:00:00',['14:30:00',['15:00:00',['15:30:00',['16:00:00',['16:30:00',['19:00:00',['19:30:00',['20:00:00',['20:30:00',['21:00:00',['21:30:00',['22:00:00',['22:30:00',17]]),columns=['time','number']) column_data_source = ColumnDataSource(data={ 'x': pd.to_datetime(df['time'],format='%H:%M:%S'),'x0': pd.Series([x.strftime('%H:%M') for x in pd.to_datetime(df['time'],format='%H:%M:%S')]),'y_number': df['number'],}) return column_data_source def plot_figure(cds): plot = figure(plot_width=1200,plot_height=600,x_axis_type='datetime',y_range=(10,20)) cross = CrosshairTool() cross.line_color = 'white' cross.line_alpha = 0.7 plot.add_tools(cross) plot.title.text = 'Number of Cars Collected at Different Time' plot.background_fill_color = 'black' plot.xgrid.grid_line_color = None plot.ygrid.grid_line_color = None plot.xaxis.axis_label = 'time' line = plot.line(x='x',y='y_number',source=cds,color='white',legend_label='number') plot.add_tools(HoverTool(renderers=[line],tooltips=[('time','@x0'),('number','@y_number')],mode='vline')) plot.legend.location = 'bottom_left' # plot.legend.orientation = 'horizontal' plot.legend.label_text_color = 'white' plot.legend.background_fill_color = 'black' plot.legend.background_fill_alpha = 0.1 show(plot) if __name__ == "__main__": cds = get_data() plot_figure(cds) 属性设置首选安装大小,以防 Windows 计算错误。

ARPSIZE

ARPSIZE 乍一看似乎是多余的。但是,测试表明程序和功能报告了非常小的包的完全虚假的值(超过 4 GB)。在这种情况下,手动提供包大小可以帮助克服这种烦人但无害的麻烦。

enter image description here

关于 <Property Id='ARPSIZE'>app size in kilobytes</Property> 的更多信息:https://www.firegiant.com/wix/tutorial/com-expression-syntax-miscellanea/add-or-remove-programs-entries/